MessageAction

class pyrogram.raw.base.MessageAction

Object describing actions connected to a service message.

Constructors

This base type has 27 constructors available.

MessageActionBotAllowed

The domain name of the website on which the user has logged in.

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.

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.

MessageActionGroupCall

Constructor type of MessageAction.

MessageActionHistoryClear

Chat history was cleared.

MessageActionInviteToGroupCall

Constructor type of MessageAction.

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.

MessageActionScreenshotTaken

A screenshot of the chat was taken.

MessageActionSecureValuesSent

Request for secure telegram passport values was sent.

MessageActionSecureValuesSentMe

Secure telegram passport values were received.

MessageActionSetMessagesTTL

Constructor type of MessageAction.