payments.updateStarGiftCollection
Layer 225
Constructor ID: 0x4fddbee7
Returns: StarGiftCollection
Parameters
| Name | Type | Description |
|---|---|---|
peer | InputPeer | |
collection_id | int32 | |
title | string (flags.0, optional) | |
delete_stargift | []InputSavedStarGift (flags.1, optional) | |
add_stargift | []InputSavedStarGift (flags.2, optional) | |
order | []InputSavedStarGift (flags.3, optional) |
Example
go
result, err := client.Raw(&tg.UpdateStarGiftCollectionRequest{
peer: nil, // InputPeer
collection_id: 0,
title: "",
delete_stargift: nil,
add_stargift: nil,
order: nil,
})
if err != nil {
panic(err)
}
print(result)