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