ChatPhoto
This is a boxed type (a TL class): the Go interface tg.ChatPhotoClass, 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.ChatPhoto: // chatPhoto
case *tg.ChatPhotoEmpty: // chatPhotoEmpty
}
Constructors
| Constructor | TL name |
|---|---|
ChatPhoto | chatPhoto |
ChatPhotoEmpty | chatPhotoEmpty |