Package-level declarations

Functions

Link copied to clipboard
suspend fun TelegramBot.addMedia(message: ContentMessage<TextContent>, media: TelegramFreeMedia, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
Link copied to clipboard
suspend fun TelegramBot.edit(messageId: InlineMessageId, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.edit(messageId: InlineMessageId, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.edit(messageId: InlineMessageId, media: TelegramFreeMedia, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.edit(message: AccessibleMessage, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MessageContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MessageContent>
suspend fun TelegramBot.edit(chat: Chat, messageId: MessageId, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MessageContent>
suspend fun TelegramBot.edit(message: ContentMessage<LocationContent>, location: LiveLocation, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.edit(message: ContentMessage<MediaContent>, media: TelegramFreeMedia, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, location: LiveLocation, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, media: TelegramFreeMedia, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun TelegramBot.edit(messageId: InlineMessageId, entities: TextSourcesList, showCaptionAboveMedia: Boolean = false, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.edit(chat: Chat, messageId: MessageId, location: LiveLocation, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.edit(chat: Chat, messageId: MessageId, media: TelegramFreeMedia, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<MediaContent>
suspend fun <T : TextedWithTextSources, MediaContent> TelegramBot.edit(message: ContentMessage<T>, entities: List<TextSource>, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, showCaptionAboveMedia: Boolean = false, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<T>
suspend fun TelegramBot.edit(message: ContentMessage<TextContent>, entities: TextSourcesList, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, entities: TextSourcesList, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.edit(messageId: InlineMessageId, showCaptionAboveMedia: Boolean = false, separator: TextSource? = null, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): Boolean
suspend fun TelegramBot.edit(messageId: InlineMessageId, text: String, parseMode: ParseMode? = null, showCaptionAboveMedia: Boolean = false, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.edit(messageId: InlineMessageId, separator: String, showCaptionAboveMedia: Boolean = false, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): Boolean
suspend fun <T : TextedWithTextSources, MediaContent> TelegramBot.edit(message: ContentMessage<T>, text: String, parseMode: ParseMode? = null, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, showCaptionAboveMedia: Boolean = false, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<T>
suspend fun TelegramBot.edit(message: ContentMessage<TextContent>, separator: TextSource? = null, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.edit(message: ContentMessage<TextContent>, separator: String, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.edit(message: ContentMessage<TextContent>, text: String, parseMode: ParseMode? = null, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, separator: TextSource? = null, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, separator: String, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, text: String, parseMode: ParseMode? = null, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<TextContent>
suspend fun TelegramBot.edit(messageId: InlineMessageId, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.edit(message: ContentMessage<LocationContent>, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.edit(chatId: ChatIdentifier, messageId: MessageId, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.edit(chat: Chat, messageId: MessageId, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
Link copied to clipboard
suspend fun TelegramBot.editMessageText(message: ContentMessage<TextContent>, separator: TextSource? = null, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.editMessageText(message: ContentMessage<TextContent>, separator: String, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, linkPreviewOptions: LinkPreviewOptions? = null, replyMarkup: InlineKeyboardMarkup? = null, builderBody: EntitiesBuilderBody): ContentMessage<TextContent>