Telegram bot API: get message id to forward it – Telegram API
So, I need my bot to forward a message of a chat. But in order to do so, I need to get the id of the message I want to forward (it's an old message). How can I get the…
So, I need my bot to forward a message of a chat. But in order to do so, I need to get the id of the message I want to forward (it's an old message). How can I get the…
I'm quite a newbye in Telegram and I'm trying moving my first steps with it. I've found a good tutorial here https://www.youtube.com/watch?v=hJBYojK7DO4: I've configured my Apache 2.4 with PHP and SSL and all works fine, also the samples in the…
I am using Telegram Bot API for sending instant messages to users. I have installed nuget package. This package is recommend by telegram developers. I have created a telegram bot and successfully got access to it by using code. When…
For Telegram, how can I find out my own user id (chat_id) for use with the Telegram API? I want to send myself a message via the Telegram API, like this: https://api.telegram.org/bot<BOTID>/sendMessage
i registered in https://my.telegram.org/apps and got api_hash and api_id and public key ,now i want to use this function https://core.telegram.org/method/auth.sendCode auth.sentCode#efed51d9 phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode; auth.sentAppCode#e325edcf phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode; ---functions--- auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string…
I use setWebhook for my telegram-bot and now I need to use getUpdates. I have read the docs, and they say, that I can use only one method. The problem is, that I have in console: {"ok":false,"error_code":409,"description":"Error: Conflict: another webhook…
I use WWW::Telegram::BotAPI (Perl implementation of the Telegram Bot API) for simple bot development. I need create a custom keyboard (https://core.telegram.org/bots#keyboards) for reply (sendMessage method). Telegram API for keyboards https://core.telegram.org/bots/api/#replykeyboardmarkup describe field 'keyboard' with type Array of Array of string.…
I was wondering if I could send a message with my bot on telegram bot api, to multiple chat_id, but I cant figure it out. that's totally because of telegram apis are so hard to understand. I have used this…
The sendPhoto command require an argument photo defined as InputFile or String. The API doc tells: Photo to send. You can either pass a file_id as String to resend a photo that is already on the Telegram servers, or upload…
I'm programming a telegram bot in Python using the Telegram bot API. I'm facing the problem of managing questions that need an answer of the user. The problem arises when the program is waiting for an answer of one user…