teleproto - v1.229.0
    Preparing search index...

    Interface MessagesRequestEncryptionParams

    interface MessagesRequestEncryptionParams {
        gA: bytes;
        randomId: number;
        userId: EntityLike;
    }
    Index
    gA: bytes

    A = g ^ a mod p , see Wikipedia

    randomId: number

    Unique client request ID required to prevent resending. This also doubles as the chat ID.

    userId: EntityLike

    User ID