messages.acceptEncryption
Confirms creation of a secret chat
Example
TL schema
Parameters
Name
Type
Description
Result
Possible errors
Code
Type
Description
400
CHAT_ID_INVALID
The provided chat id is invalid
400
ENCRYPTION_ALREADY_ACCEPTED
Secret chat already accepted
400
ENCRYPTION_ALREADY_DECLINED
The secret chat was already declined
Can bots use this methd ?
yes
Related pages
Last updated