MCPcopy Create free account
hub / github.com/SakoDroid/telego / InputTextMessageContent

Struct InputTextMessageContent

objects/inputMessageContentObjects.go:16–25  ·  view source on GitHub ↗

*Represents the content of a text message to be sent as the result of an inline query.*/

Source from the content-addressed store, hash-verified

14
15/*Represents the content of a text message to be sent as the result of an inline query.*/
16type 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
27func (*InputTextMessageContent) GetType() string {
28 return "InputTextMessageContent"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected