Link Search Menu Expand Document

Constructor: updateDraftMessage

Back to constructors index

Notifies a change of a message draft.

Attributes:

NameTypeRequiredDescription
peerlongYesThe peer to which the draft is associated
top_msg_idintOptionalID of the forum topic to which the draft is associated
draftDraftMessageOptionalThe draft

Type: Update

Example:

$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => long, 'top_msg_id' => int, 'draft' => DraftMessage];