Layer 227
SendMessageTextDraftAction
Used by bots to implement live message streaming.
constructor
sendMessageTextDraftAction#376d975c random_id:long text:TextWithEntities = SendMessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| RandomId | long | Live draft ID: used by graphical clients to slightly change the rendering behavior, see here for more info. |
| Text | TextWithEntities | The contents of the live draft. |
Returns
SendMessageActionGogram Example
// Creating SendMessageTextDraftAction constructor obj := &tg.SendMessageTextDraftAction{ RandomId: int64(1234567890), Text: &tg.TextWithEntities{}, }