ex_gram
ex_gram copied to clipboard
Telegram Bot API low level API and framework
We have auto generated method: ``` method( :post, "setChatMenuButton", [{chat_id, [:integer], :optional}, {menu_button, [MenuButton], :optional}], true, "Use this method to change the bot's menu button in a private chat, or...
I'd like to run `set_my_command`, `set_my_description`, `set_my_name` and some other initialization code at bot startup. What's the best way to do it? Thanks!
I'm using a locally-hosted Large Language Model to generate bot replies, and sometimes a few seconds are needed to return a `200 OK` to the webhook, which leads to the...
Like this: `ExGram.editMessageMedia(%InputMedia{type: "photo", media: "attach://file"}, file: {:file_contents, , "img.gif"}, ...)` This is a quick fix. It would be nice to be able to do `ExGram.editMessageMedia(%InputMedia{type: "photo", media: {:file_contents, ,...
I try to edit message: ``` context |> edit( :inline, "Give your phone", reply_markup: %ReplyKeyboardMarkup{ keyboard: [ [ %KeyboardButton{ text: "📲 Get phone", request_contact: true } ], [ %KeyboardButton{ text:...
With bot api 6.6 we can set description and short description, it would be great to being able to setup that on `use ExGram.Bot` and the bot would set them...
I need all outgoing messages to be saved in the database. How can this be implemented with minimal costs?
Hi, I want to validate an app idea that requires listening to messages across a list of channels. According to what I was able to find, it's only possible with...