telegram api type · layer 229
MessageAction
Object describing actions connected to a service message.
constructors (69)
| constructor | id | description |
|---|---|---|
| messageActionEmpty | #b6aef7b0 | Empty constructor. |
| messageActionChatCreate | #bd47cbad | Group created |
| messageActionChatEditTitle | #b5a1ce5a | Group name changed. |
| messageActionChatEditPhoto | #7fcb13a8 | Group profile changed |
| messageActionChatDeletePhoto | #95e3fbef | Group profile photo removed. |
| messageActionChatAddUser | #15cefd00 | New member in the group |
| messageActionChatDeleteUser | #a43f30cc | User left the group. |
| messageActionChatJoinedByLink | #031224c3 | A user joined the chat via an invite link |
| messageActionChannelCreate | #95d2ac92 | The channel was created |
| messageActionChatMigrateTo | #e1037f92 | Indicates the chat was migrated to the specified supergroup |
| messageActionChannelMigrateFrom | #ea3948e9 | Indicates the channel was migrated from the specified chat |
| messageActionPinMessage | #94bd38ed | A message was pinned |
| messageActionHistoryClear | #9fbab604 | Chat history was cleared |
| messageActionGameScore | #92a72876 | Someone scored in a game |
| messageActionPaymentSentMe | #ffa00ccc | A user just sent a payment to me (a bot) |
| messageActionPaymentSent | #c624b16e | A payment was sent |
| messageActionPhoneCall | #80e11a7f | A phone call |
| messageActionScreenshotTaken | #4792929b | A screenshot of the chat was taken |
| messageActionCustomAction | #fae69f56 | Custom action (most likely not supported by the current layer, an upgrade might be needed) |
| messageActionBotAllowed | #c516d679 | We have given the bot permission to send us direct messages. |
| messageActionSecureValuesSentMe | #1b287353 | Secure telegram passport values were received |
| messageActionSecureValuesSent | #d95c6154 | Request for secure telegram passport values was sent |
| messageActionContactSignUp | #f3f25f76 | A contact just signed up to telegram |
| messageActionGeoProximityReached | #98e0d697 | A user of the chat is now in proximity of another user |
| messageActionGroupCall | #7a0d7f42 | The group call has ended |
| messageActionInviteToGroupCall | #502f92f7 | A set of users was invited to the group call |
| messageActionSetMessagesTTL | #3c134d7b | The Time-To-Live of messages in this chat was changed. |
| messageActionGroupCallScheduled | #b3a07661 | A group call was scheduled |
| messageActionSetChatTheme | #b91bbd3a | The chat theme was changed |
| messageActionChatJoinedByRequest | #ebbca3cb | A user was accepted into the group by an admin |
| messageActionWebViewDataSentMe | #47dd8079 | Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (bot side service message). |
| messageActionWebViewDataSent | #b4c38cb5 | Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (user side service message). |
| messageActionGiftPremium | #48e91302 | Info about a gifted Telegram Premium subscription |
| messageActionTopicCreate | #0d999256 | A forum topic was created. |
| messageActionTopicEdit | #c0944820 | Forum topic information was edited. |
| messageActionSuggestProfilePhoto | #57de635e | A new profile picture was suggested using photos.uploadContactProfilePhoto. |
| messageActionRequestedPeer | #31518e9b | Contains info about one or more peers that the we (the user) shared with the bot after clicking on a keyboardButtonRequestPeer button (service message sent by the user). |
| messageActionSetChatWallPaper | #5060a3f4 | The wallpaper » of the current chat was changed. |
| messageActionGiftCode | #31c48347 | Contains a Telegram Premium giftcode link. |
| messageActionGiveawayLaunch | #a80f51e4 | A giveaway was started. |
| messageActionGiveawayResults | #87e2f155 | A giveaway has ended. |
| messageActionBoostApply | #cc02aa6d | Some boosts » were applied to the channel or supergroup. |
| messageActionRequestedPeerSentMe | #93b31848 | Contains info about one or more peers that the a user shared with the me (the bot) after clicking on a keyboardButtonRequestPeer button (service message received by the bot). |
| messageActionPaymentRefunded | #41b3e202 | Describes a payment refund (service message received by both users and bots). |
| messageActionGiftStars | #45d5b021 | You gifted or were gifted some Telegram Stars. |
| messageActionPrizeStars | #b00c47a2 | You won some Telegram Stars in a Telegram Star giveaway ». |
| messageActionStarGift | #ea2c31d3 | You received a gift, see here » for more info. |
| messageActionStarGiftUnique | #7e1c1187 | A gift » was upgraded to a collectible gift ». |
| messageActionPaidMessagesRefunded | #ac1f1fcd | Sent from peer A to B, indicates that A refunded all stars B previously paid to send messages to A, see here » for more info on paid messages. |
| messageActionPaidMessagesPrice | #84b88578 | The price of paid messages » in this chat was changed. |
| messageActionConferenceCall | #2ffe2f7a | Represents a conference call (or an invitation to a conference call, if neither the missed nor active flags are set). |
| messageActionTodoCompletions | #cc7c5c89 | Items were marked as completed or not completed in a todo list ». |
| messageActionTodoAppendTasks | #c7edbc83 | Items were appended to the todo list ». |
| messageActionSuggestedPostApproval | #ee7a1596 | A suggested post » was approved or rejected. |
| messageActionSuggestedPostSuccess | #95ddcf69 | A suggested post » was successfully posted, and payment for it was successfully received. |
| messageActionSuggestedPostRefund | #69f916f8 | A suggested post » was accepted and posted or scheduled, but either the channel deleted the posted/scheduled post before stars_suggested_post_age_min seconds have elapsed, or the user refunded the payment for the stars used to pay for the suggested post. |
| messageActionGiftTon | #a8a3c699 | You were gifted some toncoins. |
| messageActionSuggestBirthday | #2c8f2a25 | A new birthday was suggested using users.suggestBirthday, see here » for more info on birthdays in the API. |
| messageActionStarGiftPurchaseOffer | #774278d4 | |
| messageActionStarGiftPurchaseOfferDeclined | #73ada76b | |
| messageActionNewCreatorPending | #b07ed085 | |
| messageActionChangeCreator | #e188503b | |
| messageActionNoForwardsToggle | #bf7d6572 | |
| messageActionNoForwardsRequest | #3e2793ba | |
| messageActionPollAppendAnswer | #9da1cd6c | |
| messageActionPollDeleteAnswer | #399674dc | |
| messageActionManagedBotCreated | #16605e3e | |
| messageActionChangeCommunity | #5d20bae8 | |
| messageActionChatJoinedViaCommunity | #4a8bfe80 |