EncryptedChat
This is a boxed type (a TL class): the Go interface tg.EncryptedChatClass, implemented by
the constructors below. A value of this type is one of them — switch on the concrete
type to handle it.
switch v := value.(type) {
case *tg.EncryptedChat: // encryptedChat
case *tg.EncryptedChatDiscarded: // encryptedChatDiscarded
case *tg.EncryptedChatEmpty: // encryptedChatEmpty
case *tg.EncryptedChatRequested: // encryptedChatRequested
case *tg.EncryptedChatWaiting: // encryptedChatWaiting
}
Constructors
| Constructor | TL name |
|---|---|
EncryptedChat | encryptedChat |
EncryptedChatDiscarded | encryptedChatDiscarded |
EncryptedChatEmpty | encryptedChatEmpty |
EncryptedChatRequested | encryptedChatRequested |
EncryptedChatWaiting | encryptedChatWaiting |