Skip to main content

encryptedChat

Encrypted chat

type tg.EncryptedChat struct { /* ... */ }

Implements EncryptedChat.

Fields

NameTypeRequiredDescription
IDintyesChat ID
AccessHashint64yesCheck sum dependent on the user ID
DateintyesDate chat was created
AdminIDint64yesChat creator ID
ParticipantIDint64yesID of the second chat participant
GAOrB[]byteyesB = g ^ b mod p, if the currently authorized user is the chat's creator,or A = g ^ a mod p otherwiseSee Wikipedia for more info
KeyFingerprintint64yes64-bit fingerprint of received key

References