Constructor: updateDraftMessage
Notifies a change of a message draft.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| peer | long | Yes | The peer to which the draft is associated |
| top_msg_id | int | Optional | ID of the forum topic to which the draft is associated |
| saved_peer_id | Peer | Optional | If set, the draft is related to the specified monoforum topic ID ». |
| draft | DraftMessage | Optional | The draft |
Type: Update
Example:
$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => long, 'top_msg_id' => int, 'saved_peer_id' => Peer, 'draft' => DraftMessage];