send Text Message
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chatId: ChatIdentifier, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
suspend fun TelegramBot.sendTextMessage(chat: Chat, entities: TextSourcesList, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>
Content copied to clipboard
Parameters
reply Markup
Some of KeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.replyKeyboard or dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builders for that param