Package dev.inmo.tgbotapi.extensions.api.send.media

Functions

reply
Link copied to clipboard
common
inline suspend fun RequestsExecutor.reply(to: Message, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
inline suspend fun RequestsExecutor.reply(to: Message, sticker: Sticker, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
inline suspend fun RequestsExecutor.reply(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
inline suspend fun RequestsExecutor.reply(to: Message, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.reply(to: Message, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.reply(to: Message, photo: List<PhotoSize>, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.reply(to: Message, audio: AudioFile, entities: List<TextSource>, title: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.reply(to: Message, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.reply(to: Message, video: VideoFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.reply(to: Message, voice: VoiceFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.reply(to: Message, photo: List<PhotoSize>, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.reply(to: Message, audio: AudioFile, text: String?, parseMode: ParseMode?, title: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.reply(to: Message, document: DocumentFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.reply(to: Message, animation: AnimationFile, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
inline suspend fun RequestsExecutor.reply(to: Message, animation: AnimationFile, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
replyWithAnimation
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithAnimation(to: Message, animation: AnimationFile, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
inline suspend fun RequestsExecutor.replyWithAnimation(to: Message, animation: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
inline suspend fun RequestsExecutor.replyWithAnimation(to: Message, animation: AnimationFile, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
inline suspend fun RequestsExecutor.replyWithAnimation(to: Message, animation: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
replyWithAudio
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithAudio(to: Message, audio: AudioFile, entities: List<TextSource>, title: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.replyWithAudio(to: Message, audio: AudioFile, text: String?, parseMode: ParseMode?, title: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.replyWithAudio(to: Message, audio: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, performer: String?, title: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.replyWithAudio(to: Message, audio: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, performer: String?, title: String?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
replyWithDocument
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithDocument(to: Message, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.replyWithDocument(to: Message, document: InputFile, thumb: InputFile?, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.replyWithDocument(to: Message, document: DocumentFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.replyWithDocument(to: Message, document: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
replyWithDocumentsGroup
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithDocumentsGroup(to: Message, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
replyWithMediaGroup
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithMediaGroup(to: Message, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
replyWithPhoto
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithPhoto(to: Message, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.replyWithPhoto(to: Message, photo: List<PhotoSize>, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.replyWithPhoto(to: Message, fileId: InputFile, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.replyWithPhoto(to: Message, photo: List<PhotoSize>, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
replyWithPlaylist
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithPlaylist(to: Message, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
replyWithSticker
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithSticker(to: Message, sticker: InputFile, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
inline suspend fun RequestsExecutor.replyWithSticker(to: Message, sticker: Sticker, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
replyWithVideo
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithVideo(to: Message, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.replyWithVideo(to: Message, video: VideoFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.replyWithVideo(to: Message, video: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.replyWithVideo(to: Message, video: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
replyWithVideoNote
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithVideoNote(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
inline suspend fun RequestsExecutor.replyWithVideoNote(to: Message, videoNote: InputFile, thumb: InputFile?, duration: Long?, size: Int?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
replyWithVisualMediaGroup
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithVisualMediaGroup(to: Message, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
replyWithVoice
Link copied to clipboard
common
inline suspend fun RequestsExecutor.replyWithVoice(to: Message, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.replyWithVoice(to: Message, voice: InputFile, entities: List<TextSource>, duration: Long?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.replyWithVoice(to: Message, voice: VoiceFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.replyWithVoice(to: Message, voice: InputFile, text: String?, parseMode: ParseMode?, duration: Long?, disableNotification: Boolean, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
sendAnimation
Link copied to clipboard
common
suspend fun RequestsExecutor.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chat: Chat, animation: AnimationFile, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chat: Chat, animation: AnimationFile, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
suspend fun RequestsExecutor.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AnimationContent>
sendAudio
Link copied to clipboard
common
inline suspend fun RequestsExecutor.sendAudio(chatId: ChatIdentifier, audio: AudioFile, entities: List<TextSource>, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.sendAudio(chat: Chat, audio: AudioFile, entities: List<TextSource>, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
suspend fun RequestsExecutor.sendAudio(chatId: ChatIdentifier, audio: AudioFile, text: String?, parseMode: ParseMode?, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
suspend fun RequestsExecutor.sendAudio(chat: Chat, audio: AudioFile, text: String?, parseMode: ParseMode?, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, performer: String?, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
inline suspend fun RequestsExecutor.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, performer: String?, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
suspend fun RequestsExecutor.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, performer: String?, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
suspend fun RequestsExecutor.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, performer: String?, title: String?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<AudioContent>
sendDocument
Link copied to clipboard
common
inline suspend fun RequestsExecutor.sendDocument(chatId: ChatIdentifier, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.sendDocument(chat: Chat, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile?, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
suspend fun RequestsExecutor.sendDocument(chatId: ChatIdentifier, document: DocumentFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
inline suspend fun RequestsExecutor.sendDocument(chat: Chat, document: InputFile, thumb: InputFile?, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
suspend fun RequestsExecutor.sendDocument(chat: Chat, document: DocumentFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
suspend fun RequestsExecutor.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
suspend fun RequestsExecutor.sendDocument(chat: Chat, document: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?, disableContentTypeDetection: Boolean?): ContentMessage<DocumentContent>
sendDocumentsGroup
Link copied to clipboard
common
suspend fun RequestsExecutor.sendDocumentsGroup(chatId: ChatIdentifier, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
suspend fun RequestsExecutor.sendDocumentsGroup(chat: Chat, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
sendMediaGroup
Link copied to clipboard
common
suspend fun RequestsExecutor.sendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
suspend fun RequestsExecutor.sendMediaGroup(chat: Chat, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
sendPhoto
Link copied to clipboard
common
inline suspend fun RequestsExecutor.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.sendPhoto(chatId: ChatIdentifier, photo: List<PhotoSize>, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.sendPhoto(chat: Chat, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
inline suspend fun RequestsExecutor.sendPhoto(chat: Chat, photo: List<PhotoSize>, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
suspend fun RequestsExecutor.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
suspend fun RequestsExecutor.sendPhoto(chatId: ChatIdentifier, photo: List<PhotoSize>, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
suspend fun RequestsExecutor.sendPhoto(chat: Chat, fileId: InputFile, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
suspend fun RequestsExecutor.sendPhoto(chat: Chat, photo: List<PhotoSize>, caption: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<PhotoContent>
sendPlaylist
Link copied to clipboard
common
suspend fun RequestsExecutor.sendPlaylist(chatId: ChatIdentifier, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
suspend fun RequestsExecutor.sendPlaylist(chat: Chat, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
sendSticker
Link copied to clipboard
common
suspend fun RequestsExecutor.sendSticker(chatId: ChatIdentifier, sticker: InputFile, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
suspend fun RequestsExecutor.sendSticker(chatId: ChatIdentifier, sticker: Sticker, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
suspend fun RequestsExecutor.sendSticker(chat: Chat, sticker: InputFile, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
suspend fun RequestsExecutor.sendSticker(chat: Chat, sticker: Sticker, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<StickerContent>
sendVideo
Link copied to clipboard
common
inline suspend fun RequestsExecutor.sendVideo(chatId: ChatIdentifier, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.sendVideo(chat: Chat, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
suspend fun RequestsExecutor.sendVideo(chatId: ChatIdentifier, video: VideoFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
suspend fun RequestsExecutor.sendVideo(chat: Chat, video: VideoFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
inline suspend fun RequestsExecutor.sendVideo(chat: Chat, video: InputFile, thumb: InputFile?, entities: List<TextSource>, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
suspend fun RequestsExecutor.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
suspend fun RequestsExecutor.sendVideo(chat: Chat, video: InputFile, thumb: InputFile?, text: String?, parseMode: ParseMode?, duration: Long?, width: Int?, height: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoContent>
sendVideoNote
Link copied to clipboard
common
suspend fun RequestsExecutor.sendVideoNote(chatId: ChatIdentifier, videoNote: VideoNoteFile, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
suspend fun RequestsExecutor.sendVideoNote(chat: Chat, videoNote: VideoNoteFile, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
suspend fun RequestsExecutor.sendVideoNote(chatId: ChatIdentifier, videoNote: InputFile, thumb: InputFile?, duration: Long?, size: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
suspend fun RequestsExecutor.sendVideoNote(chat: Chat, videoNote: InputFile, thumb: InputFile?, duration: Long?, size: Int?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VideoNoteContent>
sendVisualMediaGroup
Link copied to clipboard
common
suspend fun RequestsExecutor.sendVisualMediaGroup(chatId: ChatIdentifier, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
suspend fun RequestsExecutor.sendVisualMediaGroup(chat: Chat, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?): List<MediaGroupMessage>
sendVoice
Link copied to clipboard
common
inline suspend fun RequestsExecutor.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.sendVoice(chat: Chat, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.sendVoice(chatId: ChatIdentifier, voice: InputFile, entities: List<TextSource>, duration: Long?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
suspend fun RequestsExecutor.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
inline suspend fun RequestsExecutor.sendVoice(chat: Chat, voice: InputFile, entities: List<TextSource>, duration: Long?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
suspend fun RequestsExecutor.sendVoice(chat: Chat, voice: VoiceFile, text: String?, parseMode: ParseMode?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
suspend fun RequestsExecutor.sendVoice(chatId: ChatIdentifier, voice: InputFile, text: String?, parseMode: ParseMode?, duration: Long?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>
suspend fun RequestsExecutor.sendVoice(chat: Chat, voice: InputFile, text: String?, parseMode: ParseMode?, duration: Long?, disableNotification: Boolean, replyToMessageId: Long?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): ContentMessage<VoiceContent>