Constructor: updateDraftMessage

Back to constructors index

Update draft message

Attributes:

Name Type Required Description
peer Peer Yes Peer
draft DraftMessage Optional Draft

Type: Update

Example:

$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage];

Or, if you’re into Lua:

updateDraftMessage={_='updateDraftMessage', peer=Peer, draft=DraftMessage}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.