912 B
912 B
title | description | image |
---|---|---|
updateDraftMessage | Notifies a change of a message [draft](https://core.telegram.org/api/drafts). | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateDraftMessage
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}