mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
changed where necessary String to InputFile
This commit is contained in:
parent
36976e098d
commit
f2cd6278fb
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ pub struct SendAnimation<'a> {
|
|||
/// if the thumbnail was uploaded using multipart/form-data under
|
||||
/// <file_attach_name> »
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub thumb: Option<String>,
|
||||
// InputFile or String Optional
|
||||
pub thumb: Option<InputFile>,
|
||||
///Animation caption (may also be used when resending animation by
|
||||
/// file_id), 0-1024 characters
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
|
Loading…
Add table
Reference in a new issue