account.getSavedRingtones
Fetch saved notification sounds
func (c *Client) AccountGetSavedRingtones(ctx context.Context, hash int64) (AccountSavedRingtonesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountGetSavedRingtones(ctx, hash)
if err != nil {
return err
}
_ = res // AccountSavedRingtonesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Hash | int64 | yes | Hash used for caching, for more info click here. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
account.getSavedRingtones#e1902288