docs

# sendTextMessage

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

replyMarkup

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