frankenstein icon indicating copy to clipboard operation
frankenstein copied to clipboard

Telegram bot API client for Rust

Results 11 frankenstein issues
Sort by recently updated
recently updated
newest added

Currently it's only possible to upload existing files by providing file_id string https://core.telegram.org/bots/api#inputpaidmedia

We have found that some Telegram classes are not in the file located what it is supposed to be located. For example: `InputMediaVideo` struct is located in `api_params.rs` and it...

#214 removes the implicit features of the dependencies. Maybe the names can be improved / simplified (mentioning telegram in the telegram related crate is superfluous). Maybe the default feature can...

Example: ``` let params = SendDocumentParams::builder() .chat_id(chat_id.to_string()) .document(("Bytes".to_string(), bytes.to_vec())) .caption("Send bytes example") .build(); frankenstein::AsyncApi::new(token).send_document(&params).await.unwrap(); ```

Can support to send file using bytestring/base64 instead of file? ``` let params = SendPhotoParams::builder() .chat_id(CHAT_ID) .photo(file) .build(); ```

Now I can't download files sent to bot throught frankenstein, so I need to make request to https://api.telegram.org/file/bot{bot_api_token}/ manually

This is useful while developing to notice these lints even before they are released. Even when breaking they improve the code quality. Also, notice that this PR doesn't change code...

Running on beta mainly uses up a lot of resources without much benefit. Doing this on stable and the MSRV is way more useful in comparison. The main benefit of...

The current approach of calling API methods is somewhat repetitive. `bot.send_message(&SendMessageParams::…)`. From the method alone its already clear which params is required. Writing code with that requires first the method,...