Layer 220
EncryptedChatRequested
Request to create an encrypted chat.
constructor
encryptedChatRequested#48f1d94c flags:# folder_id:flags.0?int id:int access_hash:long date:int admin_id:long participant_id:long g_a:bytes = EncryptedChat;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| FolderId | flags.0?int | Peer folder ID, for more info click here |
| Id | int | Chat ID |
| AccessHash | long | Check sum depending on user ID |
| Date | int | Chat creation date |
| AdminId | long | Chat creator ID |
| ParticipantId | long | ID of second chat participant |
| GA | bytes | A = g ^ a mod p, see Wikipedia |
Returns
EncryptedChatGogram Example
// Creating EncryptedChatRequested constructor obj := &tg.EncryptedChatRequested{ Id: 0, AccessHash: int64(0), Date: 0, AdminId: int64(0), ParticipantId: int64(0), GA: []byte{}, // Optional fields: // FolderId: 0, }