CreateGiftCollection constructor
const
CreateGiftCollection({
- required MessageSender ownerId,
- required String name,
- required List<
String> receivedGiftIds,
Creates a collection from gifts on the current user's or a channel's profile page; requires can_post_messages administrator right in the channel chat. An owner can have up to getOption("gift_collection_count_max") gift collections. The new collection will be added to the end of the gift collection list of the owner. Returns the created collection
Implementation
const CreateGiftCollection({
required this.ownerId,
required this.name,
required this.receivedGiftIds,
});