Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data AddChatMember = AddChatMember {}
- defaultAddChatMember :: AddChatMember
Documentation
data AddChatMember Source #
Adds a new member to a chat; requires can_invite_users member right. Members can't be added to private or secret chats. Returns information about members that weren't added. Returns FailedToAddMembers
Instances
ToJSON AddChatMember Source # | |
Defined in TD.Query.AddChatMember toJSON :: AddChatMember -> Value # toEncoding :: AddChatMember -> Encoding # toJSONList :: [AddChatMember] -> Value # toEncodingList :: [AddChatMember] -> Encoding # | |
Show AddChatMember Source # | |
Defined in TD.Query.AddChatMember showsPrec :: Int -> AddChatMember -> ShowS # show :: AddChatMember -> String # showList :: [AddChatMember] -> ShowS # | |
Eq AddChatMember Source # | |
Defined in TD.Query.AddChatMember (==) :: AddChatMember -> AddChatMember -> Bool # (/=) :: AddChatMember -> AddChatMember -> Bool # | |
ShortShow AddChatMember Source # | |
Defined in TD.Query.AddChatMember shortShow :: AddChatMember -> String Source # |