Layer 227
method Users
stats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:string limit:int = stats.PublicForwards;

Parameters

Name Type Description
Channel InputChannel Source channel
MsgId int Source message ID
Offset string Offset for pagination, empty string on first call, then use the next_offset field of the returned constructor (if present, otherwise no more results are available).
Limit int Maximum number of results to return, see pagination

Gogram Example

// StatsGetMessagePublicForwards - positional arguments
result, err := client.StatsGetMessagePublicForwards(&tg.InputChannel{ChannelID: int64(1234567890), AccessHash: int64(5678901234567890)}, 42, "Hello, World!", 42)
if err != nil {
    // handle error
}
// result is *tg.StatsPublicForwards

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 MESSAGE_ID_INVALID The provided message id is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.