@@ -5648,11 +5648,19 @@ inputThumbnail thumbnail:InputFile width:int32 height:int32 = InputThumbnail;
56485648//@animation Animation file to be sent
56495649//@thumbnail Animation thumbnail; pass null to skip thumbnail uploading
56505650//@added_sticker_file_ids File identifiers of the stickers added to the animation, if applicable
5651- //@duration Duration of the animation, in seconds
5651+ //@duration Duration of the animation, in seconds; may be replaced by the server
56525652//@width Width of the animation; may be replaced by the server
56535653//@height Height of the animation; may be replaced by the server
56545654inputAnimation animation:InputFile thumbnail:inputThumbnail added_sticker_file_ids:vector<int32> duration:int32 width:int32 height:int32 = InputAnimation;
56555655
5656+ //@description An audio to be sent
5657+ //@audio Audio file to be sent
5658+ //@album_cover_thumbnail Thumbnail of the cover for the album; pass null to skip thumbnail uploading
5659+ //@duration Duration of the audio, in seconds; may be replaced by the server
5660+ //@title Title of the audio; 0-64 characters; may be replaced by the server
5661+ //@performer Performer of the audio; 0-64 characters, may be replaced by the server
5662+ inputAudio audio:InputFile album_cover_thumbnail:inputThumbnail duration:int32 title:string performer:string = InputAudio;
5663+
56565664
56575665//@class InputPaidMediaType @description Describes type of paid media to sent
56585666
@@ -5732,13 +5740,8 @@ messageCopyOptions send_copy:Bool replace_caption:Bool new_caption:formattedText
57325740//@description An animation @animation The animation to be sent
57335741inputPollMediaAnimation animation:inputAnimation = InputPollMedia;
57345742
5735- //@description An audio
5736- //@audio Audio file to be sent
5737- //@album_cover_thumbnail Thumbnail of the cover for the album; pass null to skip thumbnail uploading
5738- //@duration Duration of the audio, in seconds; may be replaced by the server
5739- //@title Title of the audio; 0-64 characters; may be replaced by the server
5740- //@performer Performer of the audio; 0-64 characters, may be replaced by the server
5741- inputPollMediaAudio audio:InputFile album_cover_thumbnail:inputThumbnail duration:int32 title:string performer:string = InputPollMedia;
5743+ //@description An audio @audio The audio to be sent
5744+ inputPollMediaAudio audio:inputAudio = InputPollMedia;
57425745
57435746//@description A document (general file)
57445747//@document Document to be sent
@@ -5803,13 +5806,9 @@ inputMessageRichMessage message:inputRichMessage clear_draft:Bool = InputMessage
58035806inputMessageAnimation animation:inputAnimation caption:formattedText show_caption_above_media:Bool has_spoiler:Bool = InputMessageContent;
58045807
58055808//@description An audio message
5806- //@audio Audio file to be sent
5807- //@album_cover_thumbnail Thumbnail of the cover for the album; pass null to skip thumbnail uploading
5808- //@duration Duration of the audio, in seconds; may be replaced by the server
5809- //@title Title of the audio; 0-64 characters; may be replaced by the server
5810- //@performer Performer of the audio; 0-64 characters, may be replaced by the server
5809+ //@audio Audio to be sent
58115810//@caption Audio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters
5812- inputMessageAudio audio:InputFile album_cover_thumbnail:inputThumbnail duration:int32 title:string performer:string caption:formattedText = InputMessageContent;
5811+ inputMessageAudio audio:inputAudio caption:formattedText = InputMessageContent;
58135812
58145813//@description A document message (general file)
58155814//@document Document to be sent
0 commit comments