draftMessage
Represents a message draft.
type tg.DraftMessage struct { /* ... */ }
Implements DraftMessage.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
NoWebpage | bool | — | Whether no webpage preview will be generated |
InvertMedia | bool | — | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |
ReplyTo | InputReplyToClass | — | If set, indicates that the message should be sent in reply to the specified message or story. |
Message | string | yes | The draft |
Entities | []MessageEntityClass | — | Message entities for styled text. |
Media | InputMediaClass | — | Media. |
Date | int | yes | Date of last update of the draft. |
Effect | int64 | — | A message effect that should be played as specified here ». |
SuggestedPost | SuggestedPost | — | Used to suggest a post to a channel, see here » for more info on the full flow. |
RichMessage | RichMessage | — | RichMessage field of DraftMessage. |
References
- Official documentation
- Generated Go reference
- TL definition:
draftMessage#60fe3294