| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.CreateGiftCollection
Synopsis
Documentation
data CreateGiftCollection Source #
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. Returns GiftCollection
Constructors
| CreateGiftCollection | |
Fields
| |
Instances
| ToJSON CreateGiftCollection Source # | |
Defined in TD.Query.CreateGiftCollection Methods toJSON :: CreateGiftCollection -> Value # toEncoding :: CreateGiftCollection -> Encoding # toJSONList :: [CreateGiftCollection] -> Value # toEncodingList :: [CreateGiftCollection] -> Encoding # | |
| Show CreateGiftCollection Source # | |
Defined in TD.Query.CreateGiftCollection Methods showsPrec :: Int -> CreateGiftCollection -> ShowS # show :: CreateGiftCollection -> String # showList :: [CreateGiftCollection] -> ShowS # | |
| Eq CreateGiftCollection Source # | |
Defined in TD.Query.CreateGiftCollection Methods (==) :: CreateGiftCollection -> CreateGiftCollection -> Bool # (/=) :: CreateGiftCollection -> CreateGiftCollection -> Bool # | |
| ShortShow CreateGiftCollection Source # | |
Defined in TD.Query.CreateGiftCollection Methods | |