Layer 228
StatsPublicForwardsObj
Contains info about the forwards of a story as a message to public chats and reposts by public channels.
constructor
stats.publicForwards#93037e20 flags:# count:int forwards:Vector<PublicForward> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = stats.PublicForwards;
Parameters
| Name | Type | Description |
|---|---|---|
| Count | int | Total number of results |
| Forwards | Vector<PublicForward> | Info about the forwards of a story. |
| NextOffset | flags .0? string | Offset used for pagination. |
| Chats | Vector<Chat> | Mentioned chats |
| Users | Vector<User> | Mentioned users |
Returns
stats.PublicForwardsGogram Example
// Creating StatsPublicForwardsObj constructor obj := &tg.StatsPublicForwardsObj{ Count: 20, Forwards: []tg.PublicForward{&tg.PublicForwardMessage{}}, NextOffset: "example", Chats: []tg.Chat{&tg.ChatObj{}}, Users: []tg.User{&tg.UserObj{}}, }