MadelineProtoDocs/old_docs/API_docs_v27/constructors/encryptedMessageService.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
encryptedMessageService Encrypted message service https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: encryptedMessageService

Back to constructors index

Encrypted message service

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
date int Yes Date
decrypted_message DecryptedMessage Yes Decrypted message

Type: EncryptedMessage

Example:

$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage];

PWRTelegram json-encoded version:

{"_": "encryptedMessageService", "chat_id": int, "date": int, "decrypted_message": DecryptedMessage}

Or, if you're into Lua:

encryptedMessageService={_='encryptedMessageService', chat_id=int, date=int, decrypted_message=DecryptedMessage}