payments.getUniqueStarGiftValueInfo
Get information about the value of a collectible gift ».
func (c *Client) PaymentsGetUniqueStarGiftValueInfo(ctx context.Context, slug string) (*PaymentsUniqueStarGiftValueInfo, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PaymentsGetUniqueStarGiftValueInfo(ctx, slug)
if err != nil {
return err
}
_ = res // *PaymentsUniqueStarGiftValueInfo
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Slug | string | yes | slug from a starGiftUnique. |
Returns
*PaymentsUniqueStarGiftValueInfo
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | STARGIFT_SLUG_INVALID | The specified gift slug is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
payments.getUniqueStarGiftValueInfo#4365af6b