# sendMessage - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.send / sendMessage

# sendMessage

(common) `suspend fun RequestsExecutor.sendMessage(chatId: ChatIdentifier, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>` (source)
`suspend fun RequestsExecutor.sendMessage(chat: Chat, text: String, parseMode: ParseMode? = null, disableWebPagePreview: Boolean? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<TextContent>` (source)