Layer 227
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.

Gogram Example

// Creating SendMessageTextDraftAction constructor
obj := &tg.SendMessageTextDraftAction{
    RandomId: int64(1234567890),
    Text: &tg.TextWithEntities{},
}