Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data SendBotStartMessage Source #
Invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires can_invite_users member right. Bots can't be invited to a private chat other than the chat with the bot. Bots can't be invited to channels (although they can be added as admins) and secret chats. Returns the sent message. Returns Message
Instances
ToJSON SendBotStartMessage Source # | |
Defined in TD.Query.SendBotStartMessage toJSON :: SendBotStartMessage -> Value # toEncoding :: SendBotStartMessage -> Encoding # toJSONList :: [SendBotStartMessage] -> Value # toEncodingList :: [SendBotStartMessage] -> Encoding # | |
Show SendBotStartMessage Source # | |
Defined in TD.Query.SendBotStartMessage showsPrec :: Int -> SendBotStartMessage -> ShowS # show :: SendBotStartMessage -> String # showList :: [SendBotStartMessage] -> ShowS # | |
Eq SendBotStartMessage Source # | |
Defined in TD.Query.SendBotStartMessage (==) :: SendBotStartMessage -> SendBotStartMessage -> Bool # (/=) :: SendBotStartMessage -> SendBotStartMessage -> Bool # | |
ShortShow SendBotStartMessage Source # | |
Defined in TD.Query.SendBotStartMessage |