2024-05-01 14:53:46 +02:00

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

Back to constructors index

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];