stats.getPollStats
No description available.
func (c *Client) StatsGetPollStats(ctx context.Context, request *StatsGetPollStatsRequest) (*StatsPollStats, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.StatsGetPollStats(ctx, &tg.StatsGetPollStatsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // *StatsPollStats
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Dark | bool | — | Dark field of StatsGetPollStatsRequest. |
Peer | InputPeerClass | yes | Peer field of StatsGetPollStatsRequest. |
MsgID | int | yes | MsgID field of StatsGetPollStatsRequest. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
stats.getPollStats#c27dfa68