sendMessage

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

Parameters


suspend fun TelegramBot.sendMessage(    chatId: ChatIdentifier,     separator: TextSource? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(    chatId: ChatIdentifier,     separator: String,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(    chat: Chat,     separator: TextSource? = null,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     builderBody: EntitiesBuilderBody): ContentMessage<TextContent>
suspend fun TelegramBot.sendMessage(    chat: Chat,     separator: String,     disableWebPagePreview: Boolean? = null,     disableNotification: Boolean = false,     protectContent: Boolean = false,     replyToMessageId: MessageId? = null,     allowSendingWithoutReply: Boolean? = null,     replyMarkup: KeyboardMarkup? = null,     builderBody: EntitiesBuilderBody): ContentMessage<TextContent>

Parameters

replyMarkup

Some InlineKeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builder for that