SetGiftCollectionName constructor

const SetGiftCollectionName({
  1. required MessageSender ownerId,
  2. required int collectionId,
  3. required String name,
})

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

Implementation

const SetGiftCollectionName({
  required this.ownerId,
  required this.collectionId,
  required this.name,
});