*Represents the content of a text message to be sent as the result of an inline query.*/
| 14 | |
| 15 | /*Represents the content of a text message to be sent as the result of an inline query.*/ |
| 16 | type InputTextMessageContent struct { |
| 17 | /*Text of the message to be sent, 1-4096 characters*/ |
| 18 | MessageText string `json:"message_text"` |
| 19 | /*Optional. Mode for parsing entities in the message text.*/ |
| 20 | ParseMode string `json:"parse_mode,omitempty"` |
| 21 | /*Optional. List of special entities that appear in message text, which can be specified instead of parse_mode*/ |
| 22 | Entities []MessageEntity `json:"entities,omitempty"` |
| 23 | /*Optional. Disables link previews for links in the sent message*/ |
| 24 | DisableWebPagePreview bool `json:"disable_web_page_preview,omitempty"` |
| 25 | } |
| 26 | |
| 27 | func (*InputTextMessageContent) GetType() string { |
| 28 | return "InputTextMessageContent" |
nothing calls this directly
no outgoing calls
no test coverage detected