payments.getStarsTopupOptions
Obtain a list of Telegram Stars topup options » as starsTopupOption constructors.
func (c *Client) PaymentsGetStarsTopupOptions(ctx context.Context) ([]StarsTopupOption, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PaymentsGetStarsTopupOptions(ctx)
if err != nil {
return err
}
_ = res // []StarsTopupOption
return nil
})
Parameters
This method takes no parameters.
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
payments.getStarsTopupOptions#c00ec7d3