MessageAction#

class pyrogram.raw.base.MessageAction#

Object describing actions connected to a service message.

Constructors:

This base type has 39 constructors available.

MessageActionBotAllowed

We have given the bot permission to send us direct messages.

MessageActionChannelCreate

The channel was created.

MessageActionChannelMigrateFrom

Indicates the channel was migrated from the specified chat.

MessageActionChatAddUser

New member in the group.

MessageActionChatCreate

Group created.

MessageActionChatDeletePhoto

Group profile photo removed.

MessageActionChatDeleteUser

User left the group.

MessageActionChatEditPhoto

Group profile changed.

MessageActionChatEditTitle

Group name changed.

MessageActionChatJoinedByLink

A user joined the chat via an invite link.

MessageActionChatJoinedByRequest

A user was accepted into the group by an admin.

MessageActionChatMigrateTo

Indicates the chat was migrated to the specified supergroup.

MessageActionContactSignUp

A contact just signed up to telegram.

MessageActionCustomAction

Custom action (most likely not supported by the current layer, an upgrade might be needed).

MessageActionEmpty

Empty constructor.

MessageActionGameScore

Someone scored in a game.

MessageActionGeoProximityReached

A user of the chat is now in proximity of another user.

MessageActionGiftPremium

Info about a gifted Telegram Premium subscription.

MessageActionGroupCall

The group call has ended.

MessageActionGroupCallScheduled

A group call was scheduled.

MessageActionHistoryClear

Chat history was cleared.

MessageActionInviteToGroupCall

A set of users was invited to the group call.

MessageActionPaymentSent

A payment was sent.

MessageActionPaymentSentMe

A user just sent a payment to me (a bot).

MessageActionPhoneCall

A phone call.

MessageActionPinMessage

A message was pinned.

MessageActionRequestedPeer

Contains info about one or more peers that the user shared with the bot after clicking on a keyboardButtonRequestPeer button.

MessageActionScreenshotTaken

A screenshot of the chat was taken.

MessageActionSecureValuesSent

Request for secure telegram passport values was sent.

MessageActionSecureValuesSentMe

Secure telegram passport values were received.

MessageActionSetChatTheme

The chat theme was changed.

MessageActionSetChatWallPaper

The wallpaper » of the current chat was changed.

MessageActionSetMessagesTTL

The Time-To-Live of messages in this chat was changed.

MessageActionSetSameChatWallPaper

Telegram API type.

MessageActionSuggestProfilePhoto

A new profile picture was suggested using photos.uploadContactProfilePhoto.

MessageActionTopicCreate

A forum topic was created.

MessageActionTopicEdit

Forum topic information was edited.

MessageActionWebViewDataSent

Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (user side service message).

MessageActionWebViewDataSentMe

Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (bot side service message).