Raw.messages.AcceptEncryption
Confirms creation of a secret chat
messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
export namespace Raw {
export namespace messages {
export class AcceptEncryption {
constructor(params: {
peer: Raw.TypeInputEncryptedChat;
gB: Buffer;
keyFingerprint: bigint;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x3dbc0415
Property
peer
: Raw.TypeInputEncryptedChatSecret chat id
gB
: BufferB = g ^ b mod p, see wikipedia
keyFingerprint
: bigint64-bit fingerprint of the received key