Skip to content

payments.updateStarGiftCollection

Layer 225

Constructor ID: 0x4fddbee7
Returns: StarGiftCollection

Parameters

NameTypeDescription
peerInputPeer
collection_idint32
titlestring (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)

Released under the Apache-2.0 License.