Interface DeleteGiftCollection

Deletes a gift collection. If the collection is owned by a channel chat, then requires can_post_messages administrator right in the channel chat. Request type for Tdjson#deleteGiftCollection.

interface DeleteGiftCollection {
    @type: "deleteGiftCollection";
    collection_id: number;
    owner_id: MessageSender;
}

Properties

@type: "deleteGiftCollection"
collection_id: number

Identifier of the gift collection.

owner_id: MessageSender

Identifier of the user or the channel chat that owns the collection.