| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.DeleteForumTopic
Synopsis
Documentation
data DeleteForumTopic Source #
Deletes all messages from a topic in a forum supergroup chat or a chat with a bot with topics; requires can_delete_messages administrator right in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages. Returns Ok
Constructors
| DeleteForumTopic | |
Instances
| ToJSON DeleteForumTopic Source # | |
Defined in TD.Query.DeleteForumTopic Methods toJSON :: DeleteForumTopic -> Value # toEncoding :: DeleteForumTopic -> Encoding # toJSONList :: [DeleteForumTopic] -> Value # toEncodingList :: [DeleteForumTopic] -> Encoding # | |
| Show DeleteForumTopic Source # | |
Defined in TD.Query.DeleteForumTopic Methods showsPrec :: Int -> DeleteForumTopic -> ShowS # show :: DeleteForumTopic -> String # showList :: [DeleteForumTopic] -> ShowS # | |
| Eq DeleteForumTopic Source # | |
Defined in TD.Query.DeleteForumTopic Methods (==) :: DeleteForumTopic -> DeleteForumTopic -> Bool # (/=) :: DeleteForumTopic -> DeleteForumTopic -> Bool # | |
| ShortShow DeleteForumTopic Source # | |
Defined in TD.Query.DeleteForumTopic Methods shortShow :: DeleteForumTopic -> String Source # | |