mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2025-01-22 05:41:46 +01:00
1013 B
1013 B
title | description | nav_exclude | image |
---|---|---|---|
updateDraftMessage | Notifies a change of a message draft. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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 |
draft | DraftMessage | Optional | The draft |
Type: Update
Example:
$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => long, 'top_msg_id' => int, 'draft' => DraftMessage];