NotifyPeer
This is a boxed type (a TL class): the Go interface tg.NotifyPeerClass, 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.NotifyBroadcasts: // notifyBroadcasts
case *tg.NotifyChats: // notifyChats
case *tg.NotifyForumTopic: // notifyForumTopic
case *tg.NotifyPeer: // notifyPeer
case *tg.NotifyUsers: // notifyUsers
}
Constructors
| Constructor | TL name |
|---|---|
NotifyBroadcasts | notifyBroadcasts |
NotifyChats | notifyChats |
NotifyForumTopic | notifyForumTopic |
NotifyPeer | notifyPeer |
NotifyUsers | notifyUsers |