| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.AddChatWelcomeMessage
Documentation
data AddChatWelcomeMessage Source #
Adds a message to the list of welcome messages of a chat; requires can_send_welcome_messages administrator right in the chat. There can be up to getOption("welcome_message_count_max") welcome messages in a chat. Returns Ok
Constructors
| AddChatWelcomeMessage | |
Fields
| |
Instances
| ToJSON AddChatWelcomeMessage Source # | |
Defined in TD.Query.AddChatWelcomeMessage Methods toJSON :: AddChatWelcomeMessage -> Value # toEncoding :: AddChatWelcomeMessage -> Encoding # toJSONList :: [AddChatWelcomeMessage] -> Value # toEncodingList :: [AddChatWelcomeMessage] -> Encoding # | |
| Show AddChatWelcomeMessage Source # | |
Defined in TD.Query.AddChatWelcomeMessage Methods showsPrec :: Int -> AddChatWelcomeMessage -> ShowS # show :: AddChatWelcomeMessage -> String # showList :: [AddChatWelcomeMessage] -> ShowS # | |
| Eq AddChatWelcomeMessage Source # | |
Defined in TD.Query.AddChatWelcomeMessage Methods (==) :: AddChatWelcomeMessage -> AddChatWelcomeMessage -> Bool # (/=) :: AddChatWelcomeMessage -> AddChatWelcomeMessage -> Bool # | |
| ShortShow AddChatWelcomeMessage Source # | |
Defined in TD.Query.AddChatWelcomeMessage Methods | |