MadelineProtoDocs/docs/API_docs/constructors/messageActionSecureValuesSentMe.md
2020-06-16 17:50:25 +02:00

1.2 KiB

title description image
messageActionSecureValuesSentMe Secure [telegram passport](https://core.telegram.org/passport) values were received https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageActionSecureValuesSentMe

Back to constructors index

Secure telegram passport values were received

Attributes:

Name Type Required Description
values Array of SecureValue Yes Vector with information about documents and other Telegram Passport elements that were shared with the bot
credentials SecureCredentialsEncrypted Yes Encrypted credentials required to decrypt the data

Type: MessageAction

Example:

$messageActionSecureValuesSentMe = ['_' => 'messageActionSecureValuesSentMe', 'values' => [SecureValue, SecureValue], 'credentials' => SecureCredentialsEncrypted];

Or, if you're into Lua:

messageActionSecureValuesSentMe={_='messageActionSecureValuesSentMe', values={SecureValue}, credentials=SecureCredentialsEncrypted}