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

Functions

Link copied to clipboard
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: AnimationFile, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chatId: ChatIdentifier, animation: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.sendAnimation(chat: Chat, animation: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.sendAudio(chat: Chat, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chatId: ChatIdentifier, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.sendAudio(chat: Chat, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chat: Chat, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chatId: ChatIdentifier, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.sendDocument(chat: Chat, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Link copied to clipboard
suspend fun TelegramBot.sendDocumentsGroup(chatId: ChatIdentifier, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.sendDocumentsGroup(chatId: ChatIdentifier, media: List<DocumentContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
suspend fun TelegramBot.sendDocumentsGroup(chat: Chat, media: List<DocumentMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.sendDocumentsGroup(chat: Chat, media: List<DocumentContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
Link copied to clipboard
suspend fun TelegramBot.sendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.sendMediaGroup(chatId: ChatIdentifier, media: List<MediaGroupContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
suspend fun TelegramBot.sendMediaGroup(chat: Chat, media: List<MediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.sendMediaGroup(chat: Chat, media: List<MediaGroupContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Link copied to clipboard
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.sendPhoto(chat: Chat, photo: Photo, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chatId: ChatIdentifier, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.sendPhoto(chat: Chat, photo: Photo, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Link copied to clipboard
suspend fun TelegramBot.sendPlaylist(chatId: ChatIdentifier, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.sendPlaylist(chatId: ChatIdentifier, media: List<AudioContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
suspend fun TelegramBot.sendPlaylist(chat: Chat, media: List<AudioMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.sendPlaylist(chat: Chat, media: List<AudioContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
Link copied to clipboard
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: InputFile, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chatId: ChatIdentifier, sticker: Sticker, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: InputFile, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.sendSticker(chat: Chat, sticker: Sticker, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Link copied to clipboard
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.sendVideo(chat: Chat, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chatId: ChatIdentifier, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.sendVideo(chat: Chat, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, width: Int? = null, height: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Link copied to clipboard
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: VideoNoteFile, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: VideoNoteFile, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chatId: ChatIdentifier, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.sendVideoNote(chat: Chat, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Link copied to clipboard
suspend fun TelegramBot.sendVisualMediaGroup(chatId: ChatIdentifier, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.sendVisualMediaGroup(chatId: ChatIdentifier, media: List<VisualMediaGroupContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
suspend fun TelegramBot.sendVisualMediaGroup(chat: Chat, media: List<VisualMediaGroupMemberInputMedia>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.sendVisualMediaGroup(chat: Chat, media: List<VisualMediaGroupContent>, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
Link copied to clipboard
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, entities: TextSourcesList, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, entities: TextSourcesList, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, entities: TextSourcesList, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chat: Chat, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chatId: ChatIdentifier, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.sendVoice(chat: Chat, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>