Layer 220
method Users
payments.deleteStarGiftCollection#ad5648e8 peer:InputPeer collection_id:int = Bool;

Parameters

Name Type Description
Peer InputPeer Peer that owns the collection.
CollectionId int ID of the collection.

Returns

Bool

Possible Errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

// PaymentsDeleteStarGiftCollection - positional arguments
result, err := client.PaymentsDeleteStarGiftCollection(&tg.InputPeerUser{UserID: int64(123456789)}, 0)
if err != nil {
    // handle error
}
// result is *tg.Bool