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

Types

Link copied to clipboard
typealias TelegramBotActionCallback<T> = suspend TelegramBot.() -> T

Functions

Link copied to clipboard
inline suspend fun TelegramBot.copyMessage(    toChatId: ChatIdentifier,     message: Message,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChat: Chat,     message: Message,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChatId: ChatIdentifier,     fromChatId: ChatIdentifier,     messageId: MessageId,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChatId: ChatIdentifier,     fromChat: Chat,     messageId: MessageId,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChatId: ChatIdentifier,     message: Message,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChatId: ChatIdentifier,     messageId: MessageId,     toChatId: ChatIdentifier,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChatId: ChatIdentifier,     messageId: MessageId,     toChat: Chat,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChat: Chat,     fromChatId: ChatIdentifier,     messageId: MessageId,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChat: Chat,     fromChat: Chat,     messageId: MessageId,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChat: Chat,     message: Message,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChat: Chat,     messageId: MessageId,     toChatId: ChatIdentifier,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChat: Chat,     messageId: MessageId,     toChat: Chat,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChatId: ChatIdentifier,     fromChatId: ChatIdentifier,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChatId: ChatIdentifier,     fromChat: Chat,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChatId: ChatIdentifier,     messageId: MessageId,     toChatId: ChatIdentifier,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChatId: ChatIdentifier,     messageId: MessageId,     toChat: Chat,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChat: Chat,     fromChatId: ChatIdentifier,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    toChat: Chat,     fromChat: Chat,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChat: Chat,     messageId: MessageId,     toChatId: ChatIdentifier,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.copyMessage(    fromChat: Chat,     messageId: MessageId,     toChat: Chat,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
Link copied to clipboard
inline suspend fun TelegramBot.copyMessages(    toChat: ChatIdentifier,     update: SentMediaGroupUpdate,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(    toChat: Chat,     update: SentMediaGroupUpdate,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are

inline suspend fun TelegramBot.copyMessages(    toChatId: ChatIdentifier,     messages: List<MediaGroupMessage<MediaGroupContent>>,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(    toChat: Chat,     messages: List<MediaGroupMessage<MediaGroupContent>>,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are

inline suspend fun TelegramBot.copyMessages(    toChat: ChatIdentifier,     update: SentMediaGroupUpdate,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(    toChat: Chat,     update: SentMediaGroupUpdate,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are

inline suspend fun TelegramBot.copyMessages(    toChatId: ChatIdentifier,     messages: List<MediaGroupMessage<MediaGroupContent>>,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.copyMessages(    toChat: Chat,     messages: List<MediaGroupMessage<MediaGroupContent>>,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>

Send media group via sendMediaGroup extension with edited entities of first messages element. Other elements will be copied as they are

Link copied to clipboard
inline suspend fun TelegramBot.reply(    to: Message,     contact: Contact,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(    to: Message,     animationType: DiceAnimationType,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
inline suspend fun TelegramBot.reply(    to: Message,     sticker: Sticker,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.reply(    to: Message,     mediaFile: TelegramMediaFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    to: Message,     videoNote: VideoNoteFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.reply(    to: Message,     game: Game,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.reply(    to: Message,     location: StaticLocation,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.reply(    to: Message,     content: MessageContent,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    to: Message,     venue: Venue,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     contact: Contact,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     animationType: DiceAnimationType,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     sticker: Sticker,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     mediaFile: TelegramMediaFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     videoNote: VideoNoteFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     game: Game,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     location: StaticLocation,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     content: MessageContent,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     venue: Venue,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(    to: Message,     photoSize: PhotoSize,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    to: Message,     video: VideoFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(    to: Message,     voice: VoiceFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.reply(    to: Message,     content: TextedMediaContent,     entities: List<TextSource>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    to: Message,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(    to: Message,     photo: Photo,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    to: Message,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     photoSize: PhotoSize,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     video: VideoFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     voice: VoiceFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     content: TextedMediaContent,     entities: List<TextSource>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     photo: Photo,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(    to: Message,     audio: AudioFile,     entities: TextSourcesList,     title: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(    to: Message,     document: DocumentFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(    to: Message,     photoSize: PhotoSize,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    to: Message,     video: VideoFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(    to: Message,     voice: VoiceFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(    to: Message,     copy: Message,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
suspend fun TelegramBot.reply(    to: Message,     content: TextedMediaContent,     text: String?,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    to: Message,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(    to: Message,     phoneNumber: String,     firstName: String,     lastName: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(    to: Message,     photo: Photo,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     audio: AudioFile,     entities: TextSourcesList,     title: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     document: DocumentFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     photoSize: PhotoSize,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     video: VideoFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     voice: VoiceFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     copy: Message,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     content: TextedMediaContent,     text: String?,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     phoneNumber: String,     firstName: String,     lastName: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     photo: Photo,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(    to: Message,     fromChatId: ChatIdentifier,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.reply(    to: Message,     fromChat: Chat,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.reply(    to: Message,     audio: AudioFile,     text: String? = null,     parseMode: ParseMode? = null,     title: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(    to: Message,     document: DocumentFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     fromChatId: ChatIdentifier,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     fromChat: Chat,     messageId: MessageId,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): Long
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     audio: AudioFile,     text: String? = null,     parseMode: ParseMode? = null,     title: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     document: DocumentFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(    to: Message,     animation: AnimationFile,     entities: TextSourcesList,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     animation: AnimationFile,     entities: TextSourcesList,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
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,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(    to: Message,     poll: Poll,     isClosed: Boolean = false,     question: String = poll.question,     options: List<String> = poll.options.map { it.text },     isAnonymous: Boolean = poll.isAnonymous,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     question: String,     options: List<String>,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     allowMultipleAnswers: Boolean = false,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     animation: AnimationFile,     text: String? = null,     parseMode: ParseMode? = null,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     poll: Poll,     isClosed: Boolean = false,     question: String = poll.question,     options: List<String> = poll.options.map { it.text },     isAnonymous: Boolean = poll.isAnonymous,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     question: String,     options: List<String>,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     allowMultipleAnswers: Boolean = false,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     location: StaticLocation,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(    to: Message,     poll: RegularPoll,     isClosed: Boolean = false,     question: String = poll.question,     options: List<String> = poll.options.map { it.text },     isAnonymous: Boolean = poll.isAnonymous,     allowMultipleAnswers: Boolean = poll.allowMultipleAnswers,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     question: String,     options: List<String>,     correctOptionId: Int,     entities: TextSourcesList,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     location: StaticLocation,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     poll: RegularPoll,     isClosed: Boolean = false,     question: String = poll.question,     options: List<String> = poll.options.map { it.text },     isAnonymous: Boolean = poll.isAnonymous,     allowMultipleAnswers: Boolean = poll.allowMultipleAnswers,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     question: String,     options: List<String>,     correctOptionId: Int,     entities: TextSourcesList,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     quizPoll: QuizPoll,     entities: TextSourcesList,     isClosed: Boolean = false,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     latitude: Double,     longitude: Double,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(    to: Message,     question: String,     options: List<String>,     correctOptionId: Int,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     quizPoll: QuizPoll,     entities: TextSourcesList,     isClosed: Boolean = false,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     latitude: Double,     longitude: Double,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     question: String,     options: List<String>,     correctOptionId: Int,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     quizPoll: QuizPoll,     isClosed: Boolean = false,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     quizPoll: QuizPoll,     isClosed: Boolean = false,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(    to: Message,     title: String,     description: String,     payload: String,     providerToken: String,     currency: Currency,     prices: List<LabeledPrice>,     maxTipAmount: Int? = null,     suggestedTipAmounts: List<Int>? = null,     startParameter: StartParameter? = null,     providerData: String? = null,     requireName: Boolean = false,     requirePhoneNumber: Boolean = false,     requireEmail: Boolean = false,     requireShippingAddress: Boolean = false,     shouldSendPhoneNumberToProvider: Boolean = false,     shouldSendEmailToProvider: Boolean = false,     priceDependOnShipAddress: Boolean = false,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
inline suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     title: String,     description: String,     payload: String,     providerToken: String,     currency: Currency,     prices: List<LabeledPrice>,     maxTipAmount: Int? = null,     suggestedTipAmounts: List<Int>? = null,     startParameter: StartParameter? = null,     providerData: String? = null,     requireName: Boolean = false,     requirePhoneNumber: Boolean = false,     requireEmail: Boolean = false,     requireShippingAddress: Boolean = false,     shouldSendPhoneNumberToProvider: Boolean = false,     shouldSendEmailToProvider: Boolean = false,     priceDependOnShipAddress: Boolean = false,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>

suspend fun TelegramBot.reply(    message: Message,     locationsFlow: Flow<EditLiveLocationInfo>,     liveTimeMillis: Long = defaultLivePeriodDelayMillis,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLocation")
suspend fun TelegramBot.reply(    message: Message,     locationsFlow: Flow<Location>,     liveTimeMillis: Long = defaultLivePeriodDelayMillis,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLatLong")
suspend fun TelegramBot.reply(    message: Message,     locationsFlow: Flow<Pair<Double, Double>>,     liveTimeMillis: Long = defaultLivePeriodDelayMillis,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null)

Will use handleLiveLocation with replying to message each time new message will be sent by live location update

suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     locationsFlow: Flow<EditLiveLocationInfo>,     liveTimeMillis: Long = defaultLivePeriodDelayMillis,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLocationChatIdAndMessageId")
suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     locationsFlow: Flow<Location>,     liveTimeMillis: Long = defaultLivePeriodDelayMillis,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLatLongChatIdAndMessageId")
suspend fun TelegramBot.reply(    toChatId: ChatId,     toMessageId: MessageId,     locationsFlow: Flow<Pair<Double, Double>>,     liveTimeMillis: Long = defaultLivePeriodDelayMillis,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null)

Will use handleLiveLocation with replying to message each time new message will be sent by live location update

Link copied to clipboard
inline suspend fun TelegramBot.replyWithAnimation(    to: Message,     animation: InputFile,     entities: TextSourcesList,     thumb: InputFile? = null,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.replyWithAnimation(    toChatId: ChatId,     toMessageId: MessageId,     animation: InputFile,     entities: TextSourcesList,     thumb: InputFile? = null,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
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,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.replyWithAnimation(    toChatId: ChatId,     toMessageId: MessageId,     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,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(    to: Message,     audio: InputFile,     thumb: InputFile? = null,     entities: TextSourcesList,     duration: Long? = null,     performer: String? = null,     title: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.replyWithAudio(    toChatId: ChatId,     toMessageId: MessageId,     audio: InputFile,     thumb: InputFile? = null,     entities: TextSourcesList,     duration: Long? = null,     performer: String? = null,     title: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
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,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.replyWithAudio(    toChatId: ChatId,     toMessageId: MessageId,     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,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDice(    to: Message,     animationType: DiceAnimationType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
inline suspend fun TelegramBot.replyWithDice(    toChatId: ChatId,     toMessageId: MessageId,     animationType: DiceAnimationType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(    to: Message,     document: InputFile,     thumb: InputFile? = null,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.replyWithDocument(    toChatId: ChatId,     toMessageId: MessageId,     document: InputFile,     thumb: InputFile? = null,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.replyWithDocument(    to: Message,     document: InputFile,     thumb: InputFile? = null,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.replyWithDocument(    toChatId: ChatId,     toMessageId: MessageId,     document: InputFile,     thumb: InputFile? = null,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocuments(    to: Message,     media: List<DocumentMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
inline suspend fun TelegramBot.replyWithDocuments(    toChatId: ChatId,     toMessageId: MessageId,     media: List<DocumentMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithGallery(    to: Message,     media: List<VisualMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
inline suspend fun TelegramBot.replyWithGallery(    toChatId: ChatId,     toMessageId: MessageId,     media: List<VisualMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithGame(    to: Message,     game: Game,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(    to: Message,     gameShortName: String,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(    toChatId: ChatId,     toMessageId: MessageId,     game: Game,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(    toChatId: ChatId,     toMessageId: MessageId,     gameShortName: String,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithMediaGroup(    to: Message,     media: List<MediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
inline suspend fun TelegramBot.replyWithMediaGroup(    toChatId: ChatId,     toMessageId: MessageId,     media: List<MediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(    to: Message,     fileId: InputFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(    toChatId: ChatId,     toMessageId: MessageId,     fileId: InputFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(    to: Message,     fileId: InputFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(    toChatId: ChatId,     toMessageId: MessageId,     fileId: InputFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPlaylist(    to: Message,     media: List<AudioMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
inline suspend fun TelegramBot.replyWithPlaylist(    toChatId: ChatId,     toMessageId: MessageId,     media: List<AudioMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithSticker(    to: Message,     sticker: InputFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
inline suspend fun TelegramBot.replyWithSticker(    toChatId: ChatId,     toMessageId: MessageId,     sticker: InputFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(    to: Message,     video: InputFile,     thumb: InputFile? = null,     entities: TextSourcesList,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.replyWithVideo(    toChatId: ChatId,     toMessageId: MessageId,     video: InputFile,     thumb: InputFile? = null,     entities: TextSourcesList,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
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,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.replyWithVideo(    toChatId: ChatId,     toMessageId: MessageId,     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,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideoNote(    to: Message,     videoNote: InputFile,     thumb: InputFile? = null,     duration: Long? = null,     size: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.replyWithVideoNote(    toChatId: ChatId,     toMessageId: MessageId,     videoNote: InputFile,     thumb: InputFile? = null,     duration: Long? = null,     size: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(    to: Message,     voice: InputFile,     entities: TextSourcesList,     duration: Long? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.replyWithVoice(    toChatId: ChatId,     toMessageId: MessageId,     voice: InputFile,     entities: TextSourcesList,     duration: Long? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.replyWithVoice(    to: Message,     voice: InputFile,     text: String? = null,     parseMode: ParseMode? = null,     duration: Long? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.replyWithVoice(    toChatId: ChatId,     toMessageId: MessageId,     voice: InputFile,     text: String? = null,     parseMode: ParseMode? = null,     duration: Long? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Link copied to clipboard
suspend fun TelegramBot.send(chatId: ChatIdentifier, action: BotAction): Boolean
suspend fun TelegramBot.send(chat: Chat, action: BotAction): Boolean

Will execute sendBotAction request

@JvmName(name = "sendPlaylist")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<AudioMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
@JvmName(name = "sendDocuments")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<DocumentMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
@JvmName(name = "sendMedaGroup")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<MediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
@JvmName(name = "sendVisualMediaGroup")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<VisualMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<AudioContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<DocumentContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<MediaGroupContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     media: List<VisualMediaGroupContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
@JvmName(name = "sendPlaylist")
suspend fun TelegramBot.send(    chat: Chat,     media: List<AudioMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
@JvmName(name = "sendDocuments")
suspend fun TelegramBot.send(    chat: Chat,     media: List<DocumentMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
@JvmName(name = "sendMedaGroup")
suspend fun TelegramBot.send(    chat: Chat,     media: List<MediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
@JvmName(name = "sendVisualMediaGroup")
suspend fun TelegramBot.send(    chat: Chat,     media: List<VisualMediaGroupMemberTelegramMedia>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.send(    chat: Chat,     media: List<AudioContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<AudioContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.send(    chat: Chat,     media: List<DocumentContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<DocumentContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.send(    chat: Chat,     media: List<MediaGroupContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<MediaGroupContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.send(    chat: Chat,     media: List<VisualMediaGroupContent>,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null): List<MediaGroupMessage<VisualMediaGroupContent>>

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     contact: Contact,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.send(    chat: Chat,     contact: Contact,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     phoneNumber: String,     firstName: String,     lastName: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.send(    chat: Chat,     phoneNumber: String,     firstName: String,     lastName: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>

Will execute sendContact request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     animationType: DiceAnimationType,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.send(    chat: Chat,     animationType: DiceAnimationType,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>

Will execute sendDice request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     sticker: Sticker,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.send(    chat: Chat,     sticker: Sticker,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>

Will execute sendSticker request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     videoNote: VideoNoteFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.send(    chat: Chat,     videoNote: VideoNoteFile,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>

Will execute sendVideoNote request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     game: Game,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.send(    chat: Chat,     game: Game,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>

Will execute sendGame request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     location: StaticLocation,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(    chat: Chat,     location: StaticLocation,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(    chat: Chat,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>

Will execute sendStaticLocation request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     venue: Venue,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.send(    chat: Chat,     venue: Venue,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     location: StaticLocation,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.send(    chat: Chat,     location: StaticLocation,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.send(    chat: Chat,     latitude: Double,     longitude: Double,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>

Will execute sendVenue request

inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     photoSize: PhotoSize,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     photo: Photo,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.send(    chat: Chat,     photoSize: PhotoSize,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.send(    chat: Chat,     photo: Photo,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     photoSize: PhotoSize,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     photo: Photo,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(    chat: Chat,     photoSize: PhotoSize,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(    chat: Chat,     photo: Photo,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>

Will execute sendPhoto request

inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     video: VideoFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.send(    chat: Chat,     video: VideoFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     video: VideoFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.send(    chat: Chat,     video: VideoFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>

Will execute sendVideo request

inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     voice: VoiceFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.send(    chat: Chat,     voice: VoiceFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     voice: VoiceFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.send(    chat: Chat,     voice: VoiceFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>

Will execute sendVoice request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.send(    chat: Chat,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.send(    chat: Chat,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>

Will execute sendTextMessage request

inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     audio: AudioFile,     entities: TextSourcesList,     title: String? = audio.title,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.send(    chat: Chat,     audio: AudioFile,     entities: TextSourcesList,     title: String? = audio.title,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     audio: AudioFile,     text: String? = null,     parseMode: ParseMode? = null,     title: String? = audio.title,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.send(    chat: Chat,     audio: AudioFile,     text: String? = null,     parseMode: ParseMode? = null,     title: String? = audio.title,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>

Will execute sendAudio request

inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     document: DocumentFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.send(    chat: Chat,     document: DocumentFile,     entities: TextSourcesList,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     document: DocumentFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.send(    chat: Chat,     document: DocumentFile,     text: String? = null,     parseMode: ParseMode? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>

Will execute sendDocument request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     animation: AnimationFile,     entities: TextSourcesList,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.send(    chat: Chat,     animation: AnimationFile,     entities: TextSourcesList,     duration: Long? = null,     width: Int? = null,     height: Int? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.send(    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: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.send(    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: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>

Will execute sendAnimation request

suspend fun TelegramBot.send(    chatId: ChatIdentifier,     question: String,     options: List<String>,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     allowMultipleAnswers: Boolean = false,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chat: Chat,     question: String,     options: List<String>,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     allowMultipleAnswers: Boolean = false,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     poll: RegularPoll,     isClosed: Boolean = false,     question: String = poll.question,     options: List<String> = poll.options.map { it.text },     isAnonymous: Boolean = poll.isAnonymous,     allowMultipleAnswers: Boolean = poll.allowMultipleAnswers,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chat: Chat,     poll: RegularPoll,     isClosed: Boolean = false,     question: String = poll.question,     options: List<String> = poll.options.map { it.text },     isAnonymous: Boolean = poll.isAnonymous,     allowMultipleAnswers: Boolean = poll.allowMultipleAnswers,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>

Will execute sendRegularPoll request

inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     question: String,     options: List<String>,     correctOptionId: Int,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     entities: TextSourcesList,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.send(    chat: Chat,     question: String,     options: List<String>,     correctOptionId: Int,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     entities: TextSourcesList,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.send(    chatId: ChatIdentifier,     isClosed: Boolean = false,     quizPoll: QuizPoll,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     entities: TextSourcesList,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     question: String,     options: List<String>,     correctOptionId: Int,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.send(    chat: Chat,     isClosed: Boolean = false,     quizPoll: QuizPoll,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     entities: TextSourcesList,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chat: Chat,     question: String,     options: List<String>,     correctOptionId: Int,     isAnonymous: Boolean = true,     isClosed: Boolean = false,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chatId: ChatIdentifier,     isClosed: Boolean = false,     quizPoll: QuizPoll,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
suspend fun TelegramBot.send(    chat: Chat,     isClosed: Boolean = false,     quizPoll: QuizPoll,     question: String = quizPoll.question,     options: List<String> = quizPoll.options.map { it.text },     correctOptionId: Int = quizPoll.correctOptionId ?: error("Correct option ID must be provided by income QuizPoll or by developer"),     isAnonymous: Boolean = quizPoll.isAnonymous,     explanation: String? = null,     parseMode: ParseMode? = null,     closeInfo: ScheduledCloseInfo? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>

Will execute sendQuizPoll request

suspend fun TelegramBot.send(    chatId: ChatId,     title: String,     description: String,     payload: String,     providerToken: String,     currency: Currency,     prices: List<LabeledPrice>,     maxTipAmount: Int? = null,     suggestedTipAmounts: List<Int>? = null,     startParameter: StartParameter? = null,     providerData: String? = null,     requireName: Boolean = false,     requirePhoneNumber: Boolean = false,     requireEmail: Boolean = false,     requireShippingAddress: Boolean = false,     shouldSendPhoneNumberToProvider: Boolean = false,     shouldSendEmailToProvider: Boolean = false,     priceDependOnShipAddress: Boolean = false,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
suspend fun TelegramBot.send(    user: CommonUser,     title: String,     description: String,     payload: String,     providerToken: String,     currency: Currency,     prices: List<LabeledPrice>,     maxTipAmount: Int? = null,     suggestedTipAmounts: List<Int>? = null,     startParameter: StartParameter? = null,     providerData: String? = null,     requireName: Boolean = false,     requirePhoneNumber: Boolean = false,     requireEmail: Boolean = false,     requireShippingAddress: Boolean = false,     shouldSendPhoneNumberToProvider: Boolean = false,     shouldSendEmailToProvider: Boolean = false,     priceDependOnShipAddress: Boolean = false,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>

Will execute sendInvoice request

Link copied to clipboard
suspend fun TelegramBot.sendActionChooseStickerAction(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionFindLocation(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionFindLocation(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideo(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionRecordVideo(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideoNote(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionRecordVideoNote(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVoice(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionRecordVoice(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionTyping(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionTyping(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadDocument(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionUploadDocument(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadPhoto(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionUploadPhoto(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideo(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionUploadVideo(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideoNote(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionUploadVideoNote(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVoice(chatId: ChatIdentifier): Boolean
suspend fun TelegramBot.sendActionUploadVoice(chat: Chat): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendBotAction(chatId: ChatIdentifier, action: BotAction): Boolean
suspend fun TelegramBot.sendBotAction(chat: Chat, action: BotAction): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendContact(    chatId: ChatIdentifier,     contact: Contact,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(    chat: Chat,     contact: Contact,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(    chatId: ChatIdentifier,     phoneNumber: String,     firstName: String,     lastName: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(    chat: Chat,     phoneNumber: String,     firstName: String,     lastName: String? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Link copied to clipboard
suspend fun TelegramBot.sendDice(    chatId: ChatIdentifier,     animationType: DiceAnimationType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.sendDice(    chat: Chat,     animationType: DiceAnimationType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Link copied to clipboard
suspend fun TelegramBot.sendLiveLocation(    chatId: ChatIdentifier,     location: Location,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLiveLocation(    chat: Chat,     location: Location,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLiveLocation(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLiveLocation(    chat: Chat,     latitude: Double,     longitude: Double,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Link copied to clipboard
suspend fun TelegramBot.sendLocation(    chatId: ChatIdentifier,     location: Location,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chat: Chat,     location: Location,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chat: Chat,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chatId: ChatIdentifier,     location: Location,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chat: Chat,     location: Location,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(    chat: Chat,     latitude: Double,     longitude: Double,     livePeriod: Seconds,     horizontalAccuracy: Meters? = null,     heading: Degrees? = null,     proximityAlertRadius: Meters? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Link copied to clipboard
suspend fun TelegramBot.sendMessage(    chatId: ChatIdentifier,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(    chat: Chat,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(    chatId: ChatIdentifier,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(    chat: Chat,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Link copied to clipboard
suspend fun TelegramBot.sendStaticLocation(    chatId: ChatIdentifier,     location: Location,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(    chat: Chat,     location: Location,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(    chat: Chat,     latitude: Double,     longitude: Double,     disableNotification: Boolean = false,     protectContent: Boolean = false,     allowSendingWithoutReply: Boolean? = null,     replyToMessageId: MessageId? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Link copied to clipboard
suspend fun TelegramBot.sendTextMessage(    chatId: ChatIdentifier,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(    chat: Chat,     entities: TextSourcesList,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(    chatId: ChatIdentifier,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(    chat: Chat,     text: String,     parseMode: ParseMode? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Link copied to clipboard
suspend fun TelegramBot.sendVenue(    chatId: ChatIdentifier,     venue: Venue,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(    chat: Chat,     venue: Venue,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(    chatId: ChatIdentifier,     location: StaticLocation,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(    chat: Chat,     location: StaticLocation,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(    chatId: ChatIdentifier,     latitude: Double,     longitude: Double,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(    chat: Chat,     latitude: Double,     longitude: Double,     title: String,     address: String,     foursquareId: FoursquareId? = null,     foursquareType: FoursquareType? = null,     googlePlaceId: GooglePlaceId? = null,     googlePlaceType: GooglePlaceType? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Link copied to clipboard
suspend fun <T> TelegramBot.withAction(actionRequest: SendAction, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withAction(    chatId: ChatId,     action: BotAction,     block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withAction(    chat: Chat,     action: BotAction,     block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withChooseStickerAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withChooseStickerAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withFindLocationAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withFindLocationAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withRecordVideoAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoNoteAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withRecordVideoNoteAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVoiceAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withRecordVoiceAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withTypingAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withTypingAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadDocumentAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadDocumentAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadPhotoAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadPhotoAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadVideoAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoNoteAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadVideoNoteAction(chat: Chat, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVoiceAction(chatId: ChatId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadVoiceAction(chat: Chat, block: TelegramBotActionCallback<T>): T