# com.github.insanusmokrassar.TelegramBotAPI.requests.send.media - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.requests.send.media

## Package com.github.insanusmokrassar.TelegramBotAPI.requests.send.media

### Types

(common)

#### SendAnimationData

`data class SendAnimationData : DataRequest<ContentMessage<AnimationContent>>, SendMessageRequest<ContentMessage<AnimationContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<AnimationContent>>, TextableSendMessageRequest<ContentMessage<AnimationContent>>, ThumbedSendMessageRequest<ContentMessage<AnimationContent>>, DuratedSendMessageRequest<ContentMessage<AnimationContent>>, SizedSendMessageRequest<ContentMessage<AnimationContent>>`

(common)

#### SendAnimationFiles

`data class SendAnimationFiles : Files`

(common)

#### SendAudioData

`data class SendAudioData : DataRequest<ContentMessage<AudioContent>>, SendMessageRequest<ContentMessage<AudioContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<AudioContent>>, TextableSendMessageRequest<ContentMessage<AudioContent>>, ThumbedSendMessageRequest<ContentMessage<AudioContent>>, TitledSendMessageRequest<ContentMessage<AudioContent>>, DuratedSendMessageRequest<ContentMessage<AudioContent>>, Performerable`

(common)

#### SendAudioFiles

`data class SendAudioFiles : Files`

(common)

#### SendDocumentData

`data class SendDocumentData : DataRequest<ContentMessage<DocumentContent>>, SendMessageRequest<ContentMessage<DocumentContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<DocumentContent>>, TextableSendMessageRequest<ContentMessage<DocumentContent>>, ThumbedSendMessageRequest<ContentMessage<DocumentContent>>`

(common)

#### SendDocumentFiles

`data class SendDocumentFiles : Files`

(common)

#### SendMediaGroupData

`data class SendMediaGroupData : DataRequest<List<MediaGroupMessage>>, SendMessageRequest<List<MediaGroupMessage>>`

(common)

#### SendMediaGroupFiles

`data class SendMediaGroupFiles : Files`

(common)

#### SendPhotoData

`data class SendPhotoData : DataRequest<ContentMessage<PhotoContent>>, SendMessageRequest<ContentMessage<PhotoContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<PhotoContent>>, TextableSendMessageRequest<ContentMessage<PhotoContent>>`

(common)

#### SendPhotoFiles

`data class SendPhotoFiles : Files`

(common)

#### SendStickerByFile

`data class SendStickerByFile : MultipartRequest<ContentMessage<StickerContent>>, Request<ContentMessage<StickerContent>>`

(common)

#### SendStickerByFileId

`data class SendStickerByFileId : SendMessageRequest<ContentMessage<StickerContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<StickerContent>>`

(common)

#### SendVideoData

`data class SendVideoData : DataRequest<ContentMessage<VideoContent>>, SendMessageRequest<ContentMessage<VideoContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<VideoContent>>, TextableSendMessageRequest<ContentMessage<VideoContent>>, ThumbedSendMessageRequest<ContentMessage<VideoContent>>, DuratedSendMessageRequest<ContentMessage<VideoContent>>, SizedSendMessageRequest<ContentMessage<VideoContent>>`

(common)

#### SendVideoFiles

`data class SendVideoFiles : Files`

(common)

#### SendVideoNoteData

`data class SendVideoNoteData : DataRequest<ContentMessage<VideoNoteContent>>, SendMessageRequest<ContentMessage<VideoNoteContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<VideoNoteContent>>, TextableSendMessageRequest<ContentMessage<VideoNoteContent>>, ThumbedSendMessageRequest<ContentMessage<VideoNoteContent>>, DuratedSendMessageRequest<ContentMessage<VideoNoteContent>>, SizedSendMessageRequest<ContentMessage<VideoNoteContent>>`

(common)

#### SendVideoNoteFiles

`data class SendVideoNoteFiles : Files`

(common)

#### SendVoiceData

`data class SendVoiceData : DataRequest<ContentMessage<VoiceContent>>, SendMessageRequest<ContentMessage<VoiceContent>>, ReplyingMarkupSendMessageRequest<ContentMessage<VoiceContent>>, TextableSendMessageRequest<ContentMessage<VoiceContent>>, ThumbedSendMessageRequest<ContentMessage<VoiceContent>>, DuratedSendMessageRequest<ContentMessage<VoiceContent>>`

(common)

#### SendVoiceFiles

`data class SendVoiceFiles : Files`

### Properties

(common)

#### membersCountInMediaGroup

`val membersCountInMediaGroup: IntRange`

### Functions

(common)

#### SendAnimation

`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, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<AnimationContent>>`

(common)

#### SendAudio

`fun SendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, caption: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<AudioContent>>`

(common)

#### SendDocument

`fun SendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<DocumentContent>>`

(common)

#### SendMediaGroup

`fun SendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null): Request<List<MediaGroupMessage>>`

(common)

#### SendPhoto

`fun SendPhoto(chatId: ChatIdentifier, photo: InputFile, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<PhotoContent>>`

(common)

#### SendSticker

`fun SendSticker(chatId: ChatIdentifier, sticker: InputFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<StickerContent>>`

(common)

#### SendVideo

`fun SendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, caption: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, supportStreaming: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<VideoContent>>`

(common)

#### SendVideoNote

`fun SendVideoNote(chatId: ChatIdentifier, videoNote: InputFile, thumb: InputFile? = null, caption: String? = null, parseMode: ParseMode? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<VideoNoteContent>>`

(common)

#### SendVoice

`fun SendVoice(chatId: ChatIdentifier, voice: InputFile, thumb: InputFile? = null, caption: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<VoiceContent>>`