Package-level declarations

Types

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

Functions

Link copied to clipboard
@JvmName(name = "copyWithMessages")
suspend fun TelegramBot.copy(toChatId: ChatIdentifier, messages: List<AccessibleMessage>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
suspend fun TelegramBot.copy(toChatId: ChatIdentifier, messagesMetas: List<Message.MetaInfo>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
suspend fun TelegramBot.copy(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageIds: Array<MessageId>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
suspend fun TelegramBot.copy(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageIds: List<MessageId>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
Link copied to clipboard
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: AccessibleMessage, entities: TextSourcesList, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChat: Chat, message: AccessibleMessage, entities: TextSourcesList, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageId: MessageId, entities: TextSourcesList, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, messageId: MessageId, toChatId: ChatIdentifier, entities: TextSourcesList, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, messageId: MessageId, toChat: Chat, entities: TextSourcesList, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, fromChat: Chat, messageId: MessageId, entities: TextSourcesList, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, message: AccessibleMessage, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChat: Chat, fromChatId: ChatIdentifier, messageId: MessageId, entities: TextSourcesList, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, messageId: MessageId, toChatId: ChatIdentifier, entities: TextSourcesList, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, messageId: MessageId, toChat: Chat, entities: TextSourcesList, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChat: Chat, fromChat: Chat, messageId: MessageId, entities: TextSourcesList, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChat: Chat, message: AccessibleMessage, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, messageId: MessageId, toChatId: ChatIdentifier, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChatId: ChatIdentifier, messageId: MessageId, toChat: Chat, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChatId: ChatIdentifier, fromChat: Chat, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChat: Chat, fromChatId: ChatIdentifier, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, messageId: MessageId, toChatId: ChatIdentifier, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(fromChat: Chat, messageId: MessageId, toChat: Chat, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.copyMessage(toChat: Chat, fromChat: Chat, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = toChat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): MessageId
Link copied to clipboard
@JvmName(name = "copyMessagesWithMessages")
suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, messages: List<AccessibleMessage>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, messagesMetas: List<Message.MetaInfo>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageIds: Array<MessageId>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
suspend fun TelegramBot.copyMessages(toChatId: ChatIdentifier, fromChatId: ChatIdentifier, messageIds: List<MessageId>, threadId: MessageThreadId? = toChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, removeCaption: Boolean = false): List<MessageId>
Link copied to clipboard
inline suspend fun TelegramBot.reply(to: AccessibleMessage, contact: Contact, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, animationType: DiceAnimationType, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.reply(to: AccessibleMessage, mediaFile: TelegramMediaFile, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(to: AccessibleMessage, videoNote: VideoNoteFile, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, game: Game, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, location: StaticLocation, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.reply(to: AccessibleMessage, content: MessageContent, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): AccessibleMessage
inline suspend fun TelegramBot.reply(to: AccessibleMessage, venue: Venue, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, contact: Contact, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, animationType: DiceAnimationType, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, mediaFile: TelegramMediaFile, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, videoNote: VideoNoteFile, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, game: Game, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, location: StaticLocation, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, content: MessageContent, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, venue: Venue, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, sticker: Sticker, emoji: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, voice: VoiceFile, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, copy: AccessibleMessage, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): MessageId
suspend fun TelegramBot.reply(to: AccessibleMessage, content: TextedMediaContent, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(to: AccessibleMessage, latitude: Double, longitude: Double, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, sticker: Sticker, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, voice: VoiceFile, entities: TextSourcesList, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, copy: AccessibleMessage, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): MessageId
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, content: TextedMediaContent, entities: List<TextSource>, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, latitude: Double, longitude: Double, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, fromChatId: ChatIdentifier, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.reply(to: AccessibleMessage, fromChat: Chat, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.reply(to: AccessibleMessage, audio: AudioFile, entities: TextSourcesList, title: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, document: DocumentFile, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, photo: Photo, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, photoSize: PhotoSize, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, video: VideoFile, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.reply(to: AccessibleMessage, content: TextedMediaContent, text: String?, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
suspend fun TelegramBot.reply(to: AccessibleMessage, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.reply(to: AccessibleMessage, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, phoneNumber: String, firstName: String, lastName: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, fromChatId: ChatIdentifier, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, fromChat: Chat, messageId: MessageId, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): MessageId
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, audio: AudioFile, entities: TextSourcesList, title: String? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, document: DocumentFile, entities: TextSourcesList, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, photo: Photo, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, photoSize: PhotoSize, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, video: VideoFile, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, content: TextedMediaContent, text: String?, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null)
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, phoneNumber: String, firstName: String, lastName: String? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, photo: Photo, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, photo: Photo, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, animation: AnimationFile, entities: TextSourcesList, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, poll: Poll, isClosed: Boolean = false, question: String = poll.question, options: List<String> = poll.options.map { it.text }, isAnonymous: Boolean = poll.isAnonymous, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, animation: AnimationFile, entities: TextSourcesList, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, 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, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, question: String, options: List<String>, isAnonymous: Boolean = true, isClosed: Boolean = false, allowMultipleAnswers: Boolean = false, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, 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, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, question: String, options: List<String>, correctOptionId: Int, entities: TextSourcesList, isAnonymous: Boolean = true, isClosed: Boolean = false, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, location: StaticLocation, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, 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, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, question: String, options: List<String>, correctOptionId: Int, entities: TextSourcesList, isAnonymous: Boolean = true, isClosed: Boolean = false, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, 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, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, 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, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, latitude: Double, longitude: Double, title: String, address: String, foursquareId: FoursquareId? = null, foursquareType: FoursquareType? = null, googlePlaceId: GooglePlaceId? = null, googlePlaceType: GooglePlaceType? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, question: String, options: List<String>, correctOptionId: Int, isAnonymous: Boolean = true, isClosed: Boolean = false, explanation: String? = null, parseMode: ParseMode? = null, closeInfo: ScheduledCloseInfo? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, 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, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, 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, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>
inline suspend fun TelegramBot.reply(to: AccessibleMessage, 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, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
inline suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, 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, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>

suspend fun TelegramBot.reply(to: AccessibleMessage, locationsFlow: Flow<EditLiveLocationInfo>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLocation")
suspend fun TelegramBot.reply(to: AccessibleMessage, locationsFlow: Flow<Location>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLatLong")
suspend fun TelegramBot.reply(to: AccessibleMessage, locationsFlow: Flow<Pair<Double, Double>>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null)

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

suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, locationsFlow: Flow<EditLiveLocationInfo>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLocationChatIdAndMessageId")
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, locationsFlow: Flow<Location>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null)
@JvmName(name = "replyLiveLocationWithLatLongChatIdAndMessageId")
suspend fun TelegramBot.reply(toChatId: IdChatIdentifier, toMessageId: MessageId, locationsFlow: Flow<Pair<Double, Double>>, liveTimeMillis: Long = defaultLivePeriodDelayMillis, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, 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: AccessibleMessage, animation: InputFile, entities: TextSourcesList, spoilered: Boolean = false, thumb: InputFile? = null, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.replyWithAnimation(toChatId: IdChatIdentifier, toMessageId: MessageId, animation: InputFile, entities: TextSourcesList, spoilered: Boolean = false, thumb: InputFile? = null, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.replyWithAnimation(to: AccessibleMessage, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
inline suspend fun TelegramBot.replyWithAnimation(toChatId: IdChatIdentifier, toMessageId: MessageId, animation: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithAudio(to: AccessibleMessage, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.replyWithAudio(toChatId: IdChatIdentifier, toMessageId: MessageId, audio: InputFile, thumb: InputFile? = null, entities: TextSourcesList, duration: Long? = null, performer: String? = null, title: String? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.replyWithAudio(to: AccessibleMessage, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.replyWithAudio(toChatId: IdChatIdentifier, toMessageId: MessageId, audio: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, performer: String? = null, title: String? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDice(to: AccessibleMessage, animationType: DiceAnimationType? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
inline suspend fun TelegramBot.replyWithDice(toChatId: IdChatIdentifier, toMessageId: MessageId, animationType: DiceAnimationType? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithDocument(to: AccessibleMessage, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.replyWithDocument(toChatId: IdChatIdentifier, toMessageId: MessageId, document: InputFile, thumb: InputFile? = null, entities: TextSourcesList, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.replyWithDocument(to: AccessibleMessage, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.replyWithDocument(toChatId: IdChatIdentifier, toMessageId: MessageId, document: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, 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: AccessibleMessage, media: List<DocumentMediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<DocumentContent>>
inline suspend fun TelegramBot.replyWithDocuments(toChatId: IdChatIdentifier, toMessageId: MessageId, media: List<DocumentMediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<DocumentContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithGallery(to: AccessibleMessage, media: List<VisualMediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
inline suspend fun TelegramBot.replyWithGallery(toChatId: IdChatIdentifier, toMessageId: MessageId, media: List<VisualMediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithGame(to: AccessibleMessage, game: Game, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(to: AccessibleMessage, gameShortName: String, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(toChatId: IdChatIdentifier, toMessageId: MessageId, game: Game, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(toChatId: IdChatIdentifier, toMessageId: MessageId, gameShortName: String, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithMediaGroup(to: AccessibleMessage, media: List<MediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
inline suspend fun TelegramBot.replyWithMediaGroup(toChatId: IdChatIdentifier, toMessageId: MessageId, media: List<MediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPhoto(to: AccessibleMessage, fileId: InputFile, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(toChatId: IdChatIdentifier, toMessageId: MessageId, fileId: InputFile, entities: TextSourcesList, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(to: AccessibleMessage, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.replyWithPhoto(toChatId: IdChatIdentifier, toMessageId: MessageId, fileId: InputFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithPlaylist(to: AccessibleMessage, media: List<AudioMediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<AudioContent>>
inline suspend fun TelegramBot.replyWithPlaylist(toChatId: IdChatIdentifier, toMessageId: MessageId, media: List<AudioMediaGroupMemberTelegramMedia>, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null): ContentMessage<MediaGroupContent<AudioContent>>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithSticker(to: AccessibleMessage, sticker: InputFile, emoji: String? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
inline suspend fun TelegramBot.replyWithSticker(toChatId: IdChatIdentifier, toMessageId: MessageId, sticker: InputFile, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideo(to: AccessibleMessage, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.replyWithVideo(toChatId: IdChatIdentifier, toMessageId: MessageId, video: InputFile, thumb: InputFile? = null, entities: TextSourcesList, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.replyWithVideo(to: AccessibleMessage, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.replyWithVideo(toChatId: IdChatIdentifier, toMessageId: MessageId, video: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVideoNote(to: AccessibleMessage, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
inline suspend fun TelegramBot.replyWithVideoNote(toChatId: IdChatIdentifier, toMessageId: MessageId, videoNote: InputFile, thumb: InputFile? = null, duration: Long? = null, size: Int? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
Link copied to clipboard
inline suspend fun TelegramBot.replyWithVoice(to: AccessibleMessage, voice: InputFile, entities: TextSourcesList, duration: Long? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.replyWithVoice(toChatId: IdChatIdentifier, toMessageId: MessageId, voice: InputFile, entities: TextSourcesList, duration: Long? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.replyWithVoice(to: AccessibleMessage, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, replyInChatId: IdChatIdentifier = to.chat.id, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.replyWithVoice(toChatId: IdChatIdentifier, toMessageId: MessageId, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, replyInChatId: IdChatIdentifier = toChatId, replyInThreadId: MessageThreadId? = replyInChatId.threadId, replyInBusinessConnectionId: BusinessConnectionId? = replyInChatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
Link copied to clipboard
inline suspend fun <T : MessageContent> TelegramBot.resend(chatId: ChatIdentifier, content: T, messageThreadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<T>

This method will send content to the chatId as is

inline suspend fun <T : MessageContent> TelegramBot.resend(chatId: ChatIdentifier, message: ContentMessage<T>, messageThreadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<T>

This method will send message content to the chatId. In difference with copyMessage, this method will use native methods for data sending (like dev.inmo.tgbotapi.extensions.api.send.media.sendPhoto if inoming content is dev.inmo.tgbotapi.types.message.content.PhotoContent)

inline suspend fun <T : MessageContent> TelegramBot.resend(chat: Chat, content: T, messageThreadId: MessageThreadId? = chat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<T>

This method will send content to the chatId as is

inline suspend fun <T : MessageContent> TelegramBot.resend(chat: Chat, message: ContentMessage<T>, messageThreadId: MessageThreadId? = chat.id.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<T>

This method will send message content to the chat. In difference with copyMessage, this method will use native methods for data sending (like dev.inmo.tgbotapi.extensions.api.send.media.sendPhoto if inoming content is dev.inmo.tgbotapi.types.message.content.PhotoContent)

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>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
@JvmName(name = "sendDocuments")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<DocumentMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
@JvmName(name = "sendMedaGroup")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<MediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
@JvmName(name = "sendVisualMediaGroup")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<VisualMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<AudioContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<DocumentContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<MediaGroupPartContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.send(chatId: ChatIdentifier, media: List<VisualMediaGroupPartContent>, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
@JvmName(name = "sendPlaylist")
suspend fun TelegramBot.send(chat: Chat, media: List<AudioMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
@JvmName(name = "sendDocuments")
suspend fun TelegramBot.send(chat: Chat, media: List<DocumentMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
@JvmName(name = "sendMedaGroup")
suspend fun TelegramBot.send(chat: Chat, media: List<MediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
@JvmName(name = "sendVisualMediaGroup")
suspend fun TelegramBot.send(chat: Chat, media: List<VisualMediaGroupMemberTelegramMedia>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
@JvmName(name = "sendPlaylistByContent")
suspend fun TelegramBot.send(chat: Chat, media: List<AudioContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<AudioContent>>
@JvmName(name = "sendDocumentsByContent")
suspend fun TelegramBot.send(chat: Chat, media: List<DocumentContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<DocumentContent>>
@JvmName(name = "sendMedaGroupByContent")
suspend fun TelegramBot.send(chat: Chat, media: List<MediaGroupPartContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<MediaGroupPartContent>>
@JvmName(name = "sendVisualMediaGroupByContent")
suspend fun TelegramBot.send(chat: Chat, media: List<VisualMediaGroupPartContent>, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null): ContentMessage<MediaGroupContent<VisualMediaGroupPartContent>>
suspend fun TelegramBot.send(chatId: ChatIdentifier, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.send(chat: Chat, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.send(chat: Chat, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>

suspend fun TelegramBot.send(chatId: ChatIdentifier, contact: Contact, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.send(chat: Chat, contact: Contact, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.send(chat: Chat, phoneNumber: String, firstName: String, lastName: String? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>

Will execute sendContact request

suspend fun TelegramBot.send(chatId: ChatIdentifier, animationType: DiceAnimationType, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.send(chat: Chat, animationType: DiceAnimationType, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>

Will execute sendDice request

suspend fun TelegramBot.send(chatId: ChatIdentifier, videoNote: VideoNoteFile, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>
suspend fun TelegramBot.send(chat: Chat, videoNote: VideoNoteFile, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoNoteContent>

Will execute sendVideoNote request

suspend fun TelegramBot.send(chatId: ChatIdentifier, game: Game, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.send(chat: Chat, game: Game, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>

Will execute sendGame request

suspend fun TelegramBot.send(chatId: ChatIdentifier, location: StaticLocation, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(chat: Chat, location: StaticLocation, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, latitude: Double, longitude: Double, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(chat: Chat, latitude: Double, longitude: Double, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>

Will execute sendStaticLocation request

suspend fun TelegramBot.send(chatId: ChatIdentifier, venue: Venue, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.send(chat: Chat, venue: Venue, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>

Will execute sendVenue request

suspend fun TelegramBot.send(chatId: ChatIdentifier, sticker: Sticker, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>
suspend fun TelegramBot.send(chat: Chat, sticker: Sticker, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, emoji: String? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<StickerContent>

Will execute sendSticker request

inline suspend fun TelegramBot.send(chatId: ChatIdentifier, voice: VoiceFile, entities: TextSourcesList, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
inline suspend fun TelegramBot.send(chat: Chat, voice: VoiceFile, entities: TextSourcesList, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>
suspend fun TelegramBot.send(chat: Chat, voice: VoiceFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>

Will execute sendVoice request

suspend fun TelegramBot.send(chatId: ChatIdentifier, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.send(chat: Chat, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.send(chat: Chat, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
inline suspend fun TelegramBot.send(chat: Chat, audio: AudioFile, entities: TextSourcesList, title: String? = audio.title, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>
suspend fun TelegramBot.send(chat: Chat, audio: AudioFile, text: String? = null, parseMode: ParseMode? = null, title: String? = audio.title, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AudioContent>

Will execute sendAudio request

inline suspend fun TelegramBot.send(chatId: ChatIdentifier, document: DocumentFile, entities: TextSourcesList, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
inline suspend fun TelegramBot.send(chat: Chat, document: DocumentFile, entities: TextSourcesList, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>
suspend fun TelegramBot.send(chat: Chat, document: DocumentFile, text: String? = null, parseMode: ParseMode? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, disableContentTypeDetection: Boolean? = null): ContentMessage<DocumentContent>

Will execute sendDocument request

inline suspend fun TelegramBot.send(chatId: ChatIdentifier, photo: Photo, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.send(chatId: ChatIdentifier, photoSize: PhotoSize, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.send(chat: Chat, photo: Photo, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
inline suspend fun TelegramBot.send(chat: Chat, photoSize: PhotoSize, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, photo: Photo, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(chat: Chat, photo: Photo, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>
suspend fun TelegramBot.send(chat: Chat, photoSize: PhotoSize, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PhotoContent>

Will execute sendPhoto request

inline suspend fun TelegramBot.send(chatId: ChatIdentifier, video: VideoFile, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
inline suspend fun TelegramBot.send(chat: Chat, video: VideoFile, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>
suspend fun TelegramBot.send(chat: Chat, video: VideoFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VideoContent>

Will execute sendVideo request

suspend fun TelegramBot.send(chatId: ChatIdentifier, location: Location, livePeriod: Seconds, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(chat: Chat, location: Location, livePeriod: Seconds, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, latitude: Double, longitude: Double, livePeriod: Seconds, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.send(chat: Chat, latitude: Double, longitude: Double, livePeriod: Seconds, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>

Will execute sendLiveLocation request

suspend fun TelegramBot.send(chatId: ChatIdentifier, animation: AnimationFile, entities: TextSourcesList, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.send(chat: Chat, animation: AnimationFile, entities: TextSourcesList, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.send(chatId: ChatIdentifier, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<AnimationContent>
suspend fun TelegramBot.send(chat: Chat, animation: AnimationFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, duration: Long? = null, width: Int? = null, height: Int? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<PollContent>

Will execute sendQuizPoll request

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, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>
suspend fun TelegramBot.send(chatId: IdChatIdentifier, 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, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<InvoiceContent>

Will execute sendInvoice request

Link copied to clipboard
suspend fun TelegramBot.sendActionChooseStickerAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionFindLocation(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionFindLocation(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideo(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionRecordVideo(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVideoNote(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionRecordVideoNote(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionRecordVoice(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionRecordVoice(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionTyping(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionTyping(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadDocument(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionUploadDocument(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadPhoto(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionUploadPhoto(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideo(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionUploadVideo(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVideoNote(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionUploadVideoNote(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendActionUploadVoice(chatId: ChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendActionUploadVoice(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendBotAction(chatId: ChatIdentifier, action: BotAction, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId): Boolean
suspend fun TelegramBot.sendBotAction(chat: Chat, action: BotAction, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, contact: Contact, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chat: Chat, contact: Contact, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chatId: ChatIdentifier, phoneNumber: String, firstName: String, lastName: String? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
suspend fun TelegramBot.sendContact(chat: Chat, phoneNumber: String, firstName: String, lastName: String? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<ContactContent>
Link copied to clipboard
suspend fun TelegramBot.sendDice(chatId: ChatIdentifier, animationType: DiceAnimationType? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<DiceContent>
suspend fun TelegramBot.sendDice(chat: Chat, animationType: DiceAnimationType? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Link copied to clipboard
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, location: Location, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(chat: Chat, location: Location, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendLocation(chat: Chat, latitude: Double, longitude: Double, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Link copied to clipboard
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chat: Chat, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chat: Chat, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chat: Chat, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(chat: Chat, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Link copied to clipboard
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, location: Location, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(chat: Chat, location: Location, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(chatId: ChatIdentifier, latitude: Double, longitude: Double, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.sendStaticLocation(chat: Chat, latitude: Double, longitude: Double, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<LocationContent>
Link copied to clipboard
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chat: Chat, entities: TextSourcesList, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chat: Chat, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chat: Chat, separator: String, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendTextMessage(chat: Chat, text: String, parseMode: ParseMode? = null, linkPreviewOptions: LinkPreviewOptions? = null, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Link copied to clipboard
suspend fun TelegramBot.sendVenue(chatId: ChatIdentifier, venue: Venue, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
suspend fun TelegramBot.sendVenue(chat: Chat, venue: Venue, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = 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, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VenueContent>
Link copied to clipboard
suspend fun TelegramBot.setMessageReaction(message: AccessibleMessage, reaction: Reaction? = null, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(message: AccessibleMessage, emoji: String?, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(meta: Message.MetaInfo, reaction: Reaction? = null, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(meta: Message.MetaInfo, emoji: String?, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(chatId: ChatIdentifier, messageId: MessageId, reaction: Reaction? = null, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(chatId: ChatIdentifier, messageId: MessageId, emoji: String?, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(chat: Chat, messageId: MessageId, reaction: Reaction? = null, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReaction(chat: Chat, messageId: MessageId, emoji: String?, big: Boolean = false): Boolean
Link copied to clipboard
suspend fun TelegramBot.setMessageReactions(message: AccessibleMessage, reactions: List<Reaction> = emptyList(), big: Boolean = false): Boolean
@JvmName(name = "setMessageReactionsStrings")
suspend fun TelegramBot.setMessageReactions(message: AccessibleMessage, emojis: List<String>, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReactions(meta: Message.MetaInfo, reactions: List<Reaction> = emptyList(), big: Boolean = false): Boolean
@JvmName(name = "setMessageReactionsStrings")
suspend fun TelegramBot.setMessageReactions(meta: Message.MetaInfo, emojis: List<String>, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReactions(chatId: ChatIdentifier, messageId: MessageId, reactions: List<Reaction> = emptyList(), big: Boolean = false): Boolean
@JvmName(name = "setMessageReactionsStrings")
suspend fun TelegramBot.setMessageReactions(chatId: ChatIdentifier, messageId: MessageId, emojis: List<String>, big: Boolean = false): Boolean
suspend fun TelegramBot.setMessageReactions(chat: Chat, messageId: MessageId, reactions: List<Reaction> = emptyList(), big: Boolean = false): Boolean
@JvmName(name = "setMessageReactionsStrings")
suspend fun TelegramBot.setMessageReactions(chat: Chat, messageId: MessageId, emojis: List<String>, big: Boolean = false): Boolean
Link copied to clipboard
suspend fun <T> TelegramBot.withAction(actionRequest: SendAction, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withAction(chatId: IdChatIdentifier, action: BotAction, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withAction(chat: Chat, action: BotAction, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withChooseStickerAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withChooseStickerAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withFindLocationAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withFindLocationAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withRecordVideoAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVideoNoteAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withRecordVideoNoteAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withRecordVoiceAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withRecordVoiceAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withTypingAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withTypingAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadDocumentAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadDocumentAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadPhotoAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadPhotoAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadVideoAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVideoNoteAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadVideoNoteAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T
Link copied to clipboard
suspend fun <T> TelegramBot.withUploadVoiceAction(chatId: IdChatIdentifier, threadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, block: TelegramBotActionCallback<T>): T
suspend fun <T> TelegramBot.withUploadVoiceAction(chat: Chat, threadId: MessageThreadId? = chat.id.threadId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, block: TelegramBotActionCallback<T>): T