1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-17 22:03:48 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.requests.send.media/-send-animation.md
2021-03-17 15:18:37 +00:00

3.2 KiB

//docs/dev.inmo.tgbotapi.requests.send.media/SendAnimation

SendAnimation

[common]
Content
fun SendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, caption: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<AnimationContent>>
fun SendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<AnimationContent>>