updates.getState
Returns a current state of updates.
func (c *Client) UpdatesGetState(ctx context.Context) (*UpdatesState, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.UpdatesGetState(ctx)
if err != nil {
return err
}
_ = res // *UpdatesState
return nil
})
Parameters
This method takes no parameters.
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
updates.getState#edd4882a