Layer 220
constructor
encryptedChat#61f0d4c7 id:int access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long = EncryptedChat;

Parameters

Name Type Description
Id int Chat ID
AccessHash long Check sum dependent on the user ID
Date int Date chat was created
AdminId long Chat creator ID
ParticipantId long ID of the second chat participant
GAOrB bytes B = g ^ b mod p, if the currently authorized user is the chat's creator, or A = g ^ a mod p otherwise See Wikipedia for more info
KeyFingerprint long 64-bit fingerprint of received key

Returns

EncryptedChat

Gogram Example

// Creating EncryptedChat constructor
obj := &tg.EncryptedChat{
    Id: 0,
    AccessHash: int64(0),
    Date: 0,
    AdminId: int64(0),
    ParticipantId: int64(0),
    GAOrB: []byte{},
    // ... more required fields
}