Layer 220
method Users

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

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.

Gogram Example

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