Input Text Message Content
data class InputTextMessageContent(messageText: String, parseMode: String?, entities: List<MessageEntity>, disableWebPagePreview: Boolean) : InputMessageContent
Content copied to clipboard
Represents the content of a text message to be sent as the result of an inline query.
Parameters
messageText
Text of the message to be sent, 1-4096 characters
parseMode
Optional. Mode for parsing entities in the message text. See formatting options for more details.
entities
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
disableWebPagePreview
Optional. Disables link previews for links in the sent message
Constructors
InputTextMessageContent
Link copied to clipboard
fun InputTextMessageContent(messageText: String, parseMode: String? = null, entities: List<MessageEntity> = emptyList(), disableWebPagePreview: Boolean = false)
Content copied to clipboard
Text of the message to be sent, 1-4096 characters
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
copy
Link copied to clipboard
fun copy(messageText: String, parseMode: String? = null, entities: List<MessageEntity> = emptyList(), disableWebPagePreview: Boolean = false): InputTextMessageContent
Content copied to clipboard
Properties
disableWebPagePreview
Link copied to clipboard
entities
Link copied to clipboard
messageText
Link copied to clipboard