Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data MessageCopyOptions Source #
MessageCopyOptions | Options to be used when a message content is copied without reference to the original sender. Service messages, messages with messageInvoice, messagePaidMedia, messageGiveaway, or messageGiveawayWinners content can't be copied |
|
Instances
FromJSON MessageCopyOptions Source # | |
Defined in TD.Data.MessageCopyOptions parseJSON :: Value -> Parser MessageCopyOptions # parseJSONList :: Value -> Parser [MessageCopyOptions] # | |
ToJSON MessageCopyOptions Source # | |
Defined in TD.Data.MessageCopyOptions toJSON :: MessageCopyOptions -> Value # toEncoding :: MessageCopyOptions -> Encoding # toJSONList :: [MessageCopyOptions] -> Value # toEncodingList :: [MessageCopyOptions] -> Encoding # | |
Show MessageCopyOptions Source # | |
Defined in TD.Data.MessageCopyOptions showsPrec :: Int -> MessageCopyOptions -> ShowS # show :: MessageCopyOptions -> String # showList :: [MessageCopyOptions] -> ShowS # | |
Eq MessageCopyOptions Source # | |
Defined in TD.Data.MessageCopyOptions (==) :: MessageCopyOptions -> MessageCopyOptions -> Bool # (/=) :: MessageCopyOptions -> MessageCopyOptions -> Bool # | |
ShortShow MessageCopyOptions Source # | |
Defined in TD.Data.MessageCopyOptions shortShow :: MessageCopyOptions -> String Source # |