Layer 228
InputNotifyPeer
Abstract type representing one of 6 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.InputNotifyPeer interface.
Use any of the following constructors:
InputNotifyBroadcasts
All channels
InputNotifyChats
Notifications generated by all groups.
InputNotifyCommunity
No description
InputNotifyForumTopic
Notifications generated by a topic in a forum.
InputNotifyPeer
Notifications generated by a certain user or group.
InputNotifyUsers
Notifications generated by all users.
Gogram Example
// InputNotifyPeer is an interface type // You can use any of the following constructors: var _ tg.InputNotifyPeer = &tg.InputNotifyBroadcasts{} var _ tg.InputNotifyPeer = &tg.InputNotifyChats{} var _ tg.InputNotifyPeer = &tg.InputNotifyCommunity{} var _ tg.InputNotifyPeer = &tg.InputNotifyForumTopic{} var _ tg.InputNotifyPeer = &tg.InputNotifyPeer{} // ... and 1 more constructors