haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ChatEventAction

Synopsis

Documentation

data ChatEventAction Source #

Represents a chat event

Constructors

ChatEventMessageEdited

A message was edited

Fields

ChatEventMessageDeleted

A message was deleted

Fields

ChatEventMessagePinned

A message was pinned

Fields

ChatEventMessageUnpinned

A message was unpinned

Fields

ChatEventPollStopped

A poll in a message was stopped

Fields

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

Fields

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

Fields

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

Fields

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

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

  • group_call_id :: Maybe Int

    Identifier of the video chat. The video chat can be received through the method getGroupCall

ChatEventVideoChatEnded

A video chat was ended

Fields

  • group_call_id :: Maybe Int

    Identifier of the video chat. The video chat can be received through the method getGroupCall

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

Fields

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