![]() For example, if you receive a message from Alice and want to react by sending a message to Bob, then you cannot use ctx. api methods, and specify all options when calling them. In this case, you can just fall back to using ctx. Note that you may not want to react in the same chat always. If you want to get an overview over what shortcuts exist, then auto-complete is your friend, along with the grammY API Reference open in new window. ![]() export Chat Invite Link to get an invite link for the respective chat. reply With Photo to reply with a photo, or ctx. api has a shortcut with the correct pre-filled values, such as ctx. Use auto-complete to see the available options right in your code editor. I would be grateful for an answer.The same options object can be passed to bot. On Stack Owerflow people occasionally write about this problem, but their solutions have not helped me. How do you think it is possible to solve this problem. Perhaps the problem is related to Airtable and its specific variables? The script works fine in the sandbox and sends messages. I need help from someone who understands the Telegram API.īelow is the code of a script which should work under certain conditions in Automations and send a message to a Telegram user via bot in an open chat with some data from the table.Īt the moment the script sends an error error_code: 400ĭescription: "Bad Request: message text is empty"
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |