# Constructor: updateDraftMessage

Back to constructors index

Notifies a change of a message draft.

# Attributes:

Name Type Required Description
peer Peer Yes The peer to which the draft is associated
draft DraftMessage Optional The 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.