telegram-bot-ruby
telegram-bot-ruby copied to clipboard
Ruby wrapper for Telegram's Bot API
I'm trying to forward one message containing multiple images/videos but as result i get multiple forwarded messages containing only one image from original message. How to forward whole message? My...
There are API, but i can`t understand how to invoke this https://core.telegram.org/method/channels.getMessages i add my bot to channel, and i want to get all messages from the channel, and receive...
Is telegram's web_app feature supported by telegram-bot-ruby already? The "web_app" field in inline buttons doesn't seem to work with telegram-bot-ruby (https://core.telegram.org/bots/api#inlinekeyboardbutton)
Tbh i am a beginner and i am trying to learn ruby and on the way i am developnig a bot. The code you gave helped me alot. But can...
When i update gem from 0.15 to latest 0.19.2, i have errors on sending AnswerInlineQuery: (ruby 2.7.3) ` results.push Telegram::Bot::Types::InlineQueryResultCachedMpeg4Gif.new(` ` id: row.id,` ` mpeg4_file_id: row.name` `)` `bot.api.answer_inline_query(inline_query_id: query_id, results:...
Hello, I've got a problem with my bot described by this scenario: 1. The bot is inactive on my server (nothing is running). 2. I send a message to my...
When running bot.rb example (after replace token value of course) I get this error: ```bash ❯ ./bot.rb ./bot.rb:10:in `block (2 levels) in ': undefined method `text' for #
I propose change bot example... to be more practical... i mean just read token from external private file it more secure than write token inside de rb file. And besides......
I've got this message when using the gem: ``` Telegram::Bot::Exceptions::ResponseError: Telegram API has returned the error. (ok: "false", error_code: "400", description: "Bad Request: can't parse inline query result: Field "url"...
When a regular group is upgraded to a supergroup chat it gets a new chat ID. Unfortunately that means the former chat ID is no longer usable and will just...