Package dev. inmo. tgbotapi. extensions. api. send. media
Functions
reply
Link copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, sticker: Sticker, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, entities: List<TextSource>, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, photo: Photo, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.reply(to: Message, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
replyWithAnimation
Link copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(to: Message, animation: AnimationFile, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(to: Message, animation: InputFile, thumb: InputFile? = null, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(to: Message, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(to: Message, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
replyWithAudio
Link copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: Message, audio: AudioFile, entities: List<TextSource>, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: Message, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: Message, audio: InputFile, thumb: InputFile? = null, entities: List<TextSource>, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: Message, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
replyWithDocument
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: Message, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: Message, document: InputFile, thumb: InputFile? = null, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: Message, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: Message, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
replyWithDocumentsGroup
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocumentsGroup(to: Message, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
Content copied to clipboard
replyWithMediaGroup
Link copied to clipboard
inline suspend fun TelegramBot.replyWithMediaGroup(to: Message, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
replyWithPhoto
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: Message, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: Message, photo: Photo, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: Message, fileId: InputFile, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: Message, photo: Photo, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
replyWithPlaylist
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPlaylist(to: Message, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
Content copied to clipboard
replyWithSticker
Link copied to clipboard
inline suspend fun TelegramBot.replyWithSticker(to: Message, sticker: InputFile, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithSticker(to: Message, sticker: Sticker, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
replyWithVideo
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: Message, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: Message, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: Message, video: InputFile, thumb: InputFile? = null, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: Message, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
replyWithVideoNote
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideoNote(to: Message, videoNote: VideoNoteFile, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVideoNote(to: Message, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
replyWithVisualMediaGroup
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVisualMediaGroup(to: Message, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
Content copied to clipboard
replyWithVoice
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: Message, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: Message, voice: InputFile, entities: List<TextSource>, duration: Long? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: Message, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: Message, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
sendAnimation
Link copied to clipboard
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, entities: List<TextSource>, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.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): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, text: 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): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.sendAnimation(chat: Chat, 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): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, text: 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): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, text: 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): ContentMessage<AnimationContent>
Content copied to clipboard
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile? = null, text: 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): ContentMessage<AnimationContent>
Content copied to clipboard
sendAudio
Link copied to clipboard
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, entities: List<TextSource>, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, entities: List<TextSource>, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, entities: List<TextSource>, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, entities: List<TextSource>, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Content copied to clipboard
sendDocument
Link copied to clipboard
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Content copied to clipboard
sendDocumentsGroup
Link copied to clipboard
suspend fun TelegramBot.sendDocumentsGroup(chatId: ChatIdentifier, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
Content copied to clipboard
suspend fun TelegramBot.sendDocumentsGroup(chat: Chat, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
Content copied to clipboard
sendMediaGroup
Link copied to clipboard
suspend fun TelegramBot.sendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
suspend fun TelegramBot.sendMediaGroup(chat: Chat, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Content copied to clipboard
sendPhoto
Link copied to clipboard
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: Photo, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendPhoto(chat: Chat, photo: Photo, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: Photo, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
suspend fun TelegramBot.sendPhoto(chat: Chat, photo: Photo, caption: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Content copied to clipboard
sendPlaylist
Link copied to clipboard
suspend fun TelegramBot.sendPlaylist(chatId: ChatIdentifier, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
Content copied to clipboard
suspend fun TelegramBot.sendPlaylist(chat: Chat, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
Content copied to clipboard
sendSticker
Link copied to clipboard
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: InputFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: Sticker, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: InputFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: Sticker, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Content copied to clipboard
sendVideo
Link copied to clipboard
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: 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): ContentMessage<VideoContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: 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): ContentMessage<VideoContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, text: 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): ContentMessage<VideoContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideo(chat: Chat, video: InputFile, thumb: InputFile? = null, text: 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): ContentMessage<VideoContent>
Content copied to clipboard
sendVideoNote
Link copied to clipboard
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: VideoNoteFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: VideoNoteFile, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Content copied to clipboard
sendVisualMediaGroup
Link copied to clipboard
suspend fun TelegramBot.sendVisualMediaGroup(chatId: ChatIdentifier, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
Content copied to clipboard
suspend fun TelegramBot.sendVisualMediaGroup(chat: Chat, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
Content copied to clipboard
sendVoice
Link copied to clipboard
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, entities: List<TextSource>, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, entities: List<TextSource>, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, entities: List<TextSource>, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard
suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Content copied to clipboard