Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Query.CanPostStory
Synopsis
- data CanPostStory = CanPostStory {}
Documentation
data CanPostStory Source #
Checks whether the current user can post a story on behalf of a chat; requires can_post_stories right for supergroup and channel chats. Returns CanPostStoryResult
Constructors
CanPostStory | |
Instances
ToJSON CanPostStory Source # | |
Defined in TD.Query.CanPostStory Methods toJSON :: CanPostStory -> Value # toEncoding :: CanPostStory -> Encoding # toJSONList :: [CanPostStory] -> Value # toEncodingList :: [CanPostStory] -> Encoding # | |
Show CanPostStory Source # | |
Defined in TD.Query.CanPostStory Methods showsPrec :: Int -> CanPostStory -> ShowS # show :: CanPostStory -> String # showList :: [CanPostStory] -> ShowS # | |
Eq CanPostStory Source # | |
Defined in TD.Query.CanPostStory | |
ShortShow CanPostStory Source # | |
Defined in TD.Query.CanPostStory Methods shortShow :: CanPostStory -> String Source # |