MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageActionNotif...

1.2 KiB

title description image
decryptedMessageActionNotifyLayer A notification stating the API layer that is used by the client. You should use your current layer and take notice of the layer used on the other side of a conversation when sending messages. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageActionNotifyLayer_17

Back to constructors index

A notification stating the API layer that is used by the client. You should use your current layer and take notice of the layer used on the other side of a conversation when sending messages.

Attributes:

Name Type Required Description
layer int Yes Layer number, must be 17 or higher (this contructor was introduced in Layer 17).

Type: DecryptedMessageAction

Example:

$decryptedMessageActionNotifyLayer_17 = ['_' => 'decryptedMessageActionNotifyLayer', 'layer' => int];

Or, if you're into Lua:

decryptedMessageActionNotifyLayer_17={_='decryptedMessageActionNotifyLayer', layer=int}