Layer 227
TopPeerCategory
Abstract type representing one of 10 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.TopPeerCategory interface.
Use any of the following constructors:
TopPeerCategoryBotsApp
Most frequently used Main Mini Bot Apps.
TopPeerCategoryBotsGuestChat
Top guest bots, i. e. bots most frequently invoked as guests in chats.
TopPeerCategoryBotsInline
Most used inline bots
TopPeerCategoryBotsPm
Most used bots
TopPeerCategoryChannels
Most frequently visited channels
TopPeerCategoryCorrespondents
Users we've chatted most frequently with
TopPeerCategoryForwardChats
Chats to which the users often forwards messages to
TopPeerCategoryForwardUsers
Users to which the users often forwards messages to
TopPeerCategoryGroups
Often-opened groups and supergroups
TopPeerCategoryPhoneCalls
Most frequently called users
Gogram Example
// TopPeerCategory is an interface type // You can use any of the following constructors: var _ tg.TopPeerCategory = &tg.TopPeerCategoryBotsApp{} var _ tg.TopPeerCategory = &tg.TopPeerCategoryBotsGuestChat{} var _ tg.TopPeerCategory = &tg.TopPeerCategoryBotsInline{} var _ tg.TopPeerCategory = &tg.TopPeerCategoryBotsPm{} var _ tg.TopPeerCategory = &tg.TopPeerCategoryChannels{} // ... and 5 more constructors