Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ChatEventAction
- = ChatEventMessageEdited { }
- | ChatEventMessageDeleted { }
- | ChatEventMessagePinned { }
- | ChatEventMessageUnpinned { }
- | ChatEventPollStopped { }
- | ChatEventMemberJoined
- | ChatEventMemberJoinedByInviteLink { }
- | ChatEventMemberJoinedByRequest { }
- | ChatEventMemberInvited { }
- | ChatEventMemberLeft
- | ChatEventMemberPromoted { }
- | ChatEventMemberRestricted { }
- | ChatEventMemberSubscriptionExtended { }
- | ChatEventAvailableReactionsChanged { }
- | ChatEventBackgroundChanged { }
- | ChatEventDescriptionChanged { }
- | ChatEventEmojiStatusChanged { }
- | ChatEventLinkedChatChanged { }
- | ChatEventLocationChanged { }
- | ChatEventMessageAutoDeleteTimeChanged { }
- | ChatEventPermissionsChanged { }
- | ChatEventPhotoChanged { }
- | ChatEventSlowModeDelayChanged { }
- | ChatEventStickerSetChanged { }
- | ChatEventCustomEmojiStickerSetChanged { }
- | ChatEventTitleChanged { }
- | ChatEventUsernameChanged { }
- | ChatEventActiveUsernamesChanged {
- old_usernames :: Maybe [Text]
- new_usernames :: Maybe [Text]
- | ChatEventAccentColorChanged { }
- | ChatEventProfileAccentColorChanged { }
- | ChatEventHasProtectedContentToggled { }
- | ChatEventInvitesToggled { }
- | ChatEventIsAllHistoryAvailableToggled { }
- | ChatEventHasAggressiveAntiSpamEnabledToggled { }
- | ChatEventSignMessagesToggled { }
- | ChatEventShowMessageSenderToggled { }
- | ChatEventInviteLinkEdited { }
- | ChatEventInviteLinkRevoked { }
- | ChatEventInviteLinkDeleted { }
- | ChatEventVideoChatCreated { }
- | ChatEventVideoChatEnded { }
- | ChatEventVideoChatMuteNewParticipantsToggled { }
- | ChatEventVideoChatParticipantIsMutedToggled { }
- | ChatEventVideoChatParticipantVolumeLevelChanged { }
- | ChatEventIsForumToggled { }
- | ChatEventForumTopicCreated { }
- | ChatEventForumTopicEdited { }
- | ChatEventForumTopicToggleIsClosed { }
- | ChatEventForumTopicToggleIsHidden { }
- | ChatEventForumTopicDeleted { }
- | ChatEventForumTopicPinned { }
Documentation
data ChatEventAction Source #
Represents a chat event
ChatEventMessageEdited | A message was edited |
| |
ChatEventMessageDeleted | A message was deleted |
ChatEventMessagePinned | A message was pinned |
ChatEventMessageUnpinned | A message was unpinned |
ChatEventPollStopped | A poll in a message was stopped |
ChatEventMemberJoined | A new member joined the chat |
ChatEventMemberJoinedByInviteLink | A new member joined the chat via an invite link |
| |
ChatEventMemberJoinedByRequest | A new member was accepted to the chat by an administrator |
| |
ChatEventMemberInvited | A new chat member was invited |
ChatEventMemberLeft | A member left the chat |
ChatEventMemberPromoted | A chat member has gained/lost administrator status, or the list of their administrator privileges has changed |
| |
ChatEventMemberRestricted | A chat member was restrictedunrestricted or bannedunbanned, or the list of their restrictions has changed |
| |
ChatEventMemberSubscriptionExtended | A chat member extended their subscription to the chat |
| |
ChatEventAvailableReactionsChanged | The chat available reactions were changed |
| |
ChatEventBackgroundChanged | The chat background was changed |
| |
ChatEventDescriptionChanged | The chat description was changed |
| |
ChatEventEmojiStatusChanged | The chat emoji status was changed |
| |
ChatEventLinkedChatChanged | The linked chat of a supergroup was changed |
| |
ChatEventLocationChanged | The supergroup location was changed |
| |
ChatEventMessageAutoDeleteTimeChanged | The message auto-delete timer was changed |
| |
ChatEventPermissionsChanged | The chat permissions were changed |
| |
ChatEventPhotoChanged | The chat photo was changed |
ChatEventSlowModeDelayChanged | The slow_mode_delay setting of a supergroup was changed |
| |
ChatEventStickerSetChanged | The supergroup sticker set was changed |
| |
ChatEventCustomEmojiStickerSetChanged | The supergroup sticker set with allowed custom emoji was changed |
| |
ChatEventTitleChanged | The chat title was changed |
ChatEventUsernameChanged | The chat editable username was changed |
| |
ChatEventActiveUsernamesChanged | The chat active usernames were changed |
| |
ChatEventAccentColorChanged | The chat accent color or background custom emoji were changed |
| |
ChatEventProfileAccentColorChanged | The chat's profile accent color or profile background custom emoji were changed |
| |
ChatEventHasProtectedContentToggled | The has_protected_content setting of a channel was toggled |
| |
ChatEventInvitesToggled | The can_invite_users permission of a supergroup chat was toggled |
| |
ChatEventIsAllHistoryAvailableToggled | The is_all_history_available setting of a supergroup was toggled |
| |
ChatEventHasAggressiveAntiSpamEnabledToggled | The has_aggressive_anti_spam_enabled setting of a supergroup was toggled |
| |
ChatEventSignMessagesToggled | The sign_messages setting of a channel was toggled |
| |
ChatEventShowMessageSenderToggled | The show_message_sender setting of a channel was toggled |
| |
ChatEventInviteLinkEdited | A chat invite link was edited |
| |
ChatEventInviteLinkRevoked | A chat invite link was revoked |
| |
ChatEventInviteLinkDeleted | A revoked chat invite link was deleted |
| |
ChatEventVideoChatCreated | A video chat was created |
| |
ChatEventVideoChatEnded | A video chat was ended |
| |
ChatEventVideoChatMuteNewParticipantsToggled | The mute_new_participants setting of a video chat was toggled |
| |
ChatEventVideoChatParticipantIsMutedToggled | A video chat participant was muted or unmuted |
| |
ChatEventVideoChatParticipantVolumeLevelChanged | A video chat participant volume level was changed |
| |
ChatEventIsForumToggled | The is_forum setting of a channel was toggled |
ChatEventForumTopicCreated | A new forum topic was created |
| |
ChatEventForumTopicEdited | A forum topic was edited |
| |
ChatEventForumTopicToggleIsClosed | A forum topic was closed or reopened |
| |
ChatEventForumTopicToggleIsHidden | The General forum topic was hidden or unhidden |
| |
ChatEventForumTopicDeleted | A forum topic was deleted |
| |
ChatEventForumTopicPinned | A pinned forum topic was changed |
|
Instances
FromJSON ChatEventAction Source # | |
Defined in TD.Data.ChatEventAction parseJSON :: Value -> Parser ChatEventAction # parseJSONList :: Value -> Parser [ChatEventAction] # | |
Show ChatEventAction Source # | |
Defined in TD.Data.ChatEventAction showsPrec :: Int -> ChatEventAction -> ShowS # show :: ChatEventAction -> String # showList :: [ChatEventAction] -> ShowS # | |
Eq ChatEventAction Source # | |
Defined in TD.Data.ChatEventAction (==) :: ChatEventAction -> ChatEventAction -> Bool # (/=) :: ChatEventAction -> ChatEventAction -> Bool # | |
ShortShow ChatEventAction Source # | |
Defined in TD.Data.ChatEventAction shortShow :: ChatEventAction -> String Source # |