Skip to main content

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

ConstructorTL name
EncryptedChatencryptedChat
EncryptedChatDiscardedencryptedChatDiscarded
EncryptedChatEmptyencryptedChatEmpty
EncryptedChatRequestedencryptedChatRequested
EncryptedChatWaitingencryptedChatWaiting

Returned by

References