Layer 228
NotifyPeer
Abstract type representing one of 6 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.NotifyPeer interface.
Use any of the following constructors:
NotifyBroadcasts
Channel notification settings
NotifyChats
Notifications generated by all groups.
NotifyCommunity
No description
NotifyForumTopic
Notifications generated by a topic in a forum.
NotifyPeer
Notifications generated by a certain user or group.
NotifyUsers
Notifications generated by all users.
Gogram Example
// NotifyPeer is an interface type // You can use any of the following constructors: var _ tg.NotifyPeer = &tg.NotifyBroadcasts{} var _ tg.NotifyPeer = &tg.NotifyChats{} var _ tg.NotifyPeer = &tg.NotifyCommunity{} var _ tg.NotifyPeer = &tg.NotifyForumTopic{} var _ tg.NotifyPeer = &tg.NotifyPeer{} // ... and 1 more constructors