| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.InviteUsersToBot
Synopsis
Documentation
data InviteUsersToBot Source #
Invites users to private chats with a bot owned by the current user. Can be called only if userTypeBot.can_be_edited == true. Each invited user will receive a message of the type messageBotInvite, and the bot will be able to send messages to that user. The request succeeds if at least one user was invited. Returns Ok
Constructors
| InviteUsersToBot | |
Instances
| ToJSON InviteUsersToBot Source # | |
Defined in TD.Query.InviteUsersToBot Methods toJSON :: InviteUsersToBot -> Value # toEncoding :: InviteUsersToBot -> Encoding # toJSONList :: [InviteUsersToBot] -> Value # toEncodingList :: [InviteUsersToBot] -> Encoding # | |
| Show InviteUsersToBot Source # | |
Defined in TD.Query.InviteUsersToBot Methods showsPrec :: Int -> InviteUsersToBot -> ShowS # show :: InviteUsersToBot -> String # showList :: [InviteUsersToBot] -> ShowS # | |
| Eq InviteUsersToBot Source # | |
Defined in TD.Query.InviteUsersToBot Methods (==) :: InviteUsersToBot -> InviteUsersToBot -> Bool # (/=) :: InviteUsersToBot -> InviteUsersToBot -> Bool # | |
| ShortShow InviteUsersToBot Source # | |
Defined in TD.Query.InviteUsersToBot Methods shortShow :: InviteUsersToBot -> String Source # | |