Interface SetGiftCollectionName

Changes name of a gift collection. If the collection is owned by a channel chat, then requires can_post_messages administrator right in the channel chat. Returns the changed collection. Request type for Tdjson#setGiftCollectionName.

interface SetGiftCollectionName {
    @type: "setGiftCollectionName";
    collection_id: number;
    name: string;
    owner_id: MessageSender;
}

Properties

@type: "setGiftCollectionName"
collection_id: number

Identifier of the gift collection.

name: string

New name of the collection; 1-12 characters.

owner_id: MessageSender

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