telegram api type · layer 229

MessageAction

Object describing actions connected to a service message.

constructors (69)

constructoriddescription
messageActionEmpty#b6aef7b0Empty constructor.
messageActionChatCreate#bd47cbadGroup created
messageActionChatEditTitle#b5a1ce5aGroup name changed.
messageActionChatEditPhoto#7fcb13a8Group profile changed
messageActionChatDeletePhoto#95e3fbefGroup profile photo removed.
messageActionChatAddUser#15cefd00New member in the group
messageActionChatDeleteUser#a43f30ccUser left the group.
messageActionChatJoinedByLink#031224c3A user joined the chat via an invite link
messageActionChannelCreate#95d2ac92The channel was created
messageActionChatMigrateTo#e1037f92Indicates the chat was migrated to the specified supergroup
messageActionChannelMigrateFrom#ea3948e9Indicates the channel was migrated from the specified chat
messageActionPinMessage#94bd38edA message was pinned
messageActionHistoryClear#9fbab604Chat history was cleared
messageActionGameScore#92a72876Someone scored in a game
messageActionPaymentSentMe#ffa00cccA user just sent a payment to me (a bot)
messageActionPaymentSent#c624b16eA payment was sent
messageActionPhoneCall#80e11a7fA phone call
messageActionScreenshotTaken#4792929bA screenshot of the chat was taken
messageActionCustomAction#fae69f56Custom action (most likely not supported by the current layer, an upgrade might be needed)
messageActionBotAllowed#c516d679We have given the bot permission to send us direct messages.
messageActionSecureValuesSentMe#1b287353Secure telegram passport values were received
messageActionSecureValuesSent#d95c6154Request for secure telegram passport values was sent
messageActionContactSignUp#f3f25f76A contact just signed up to telegram
messageActionGeoProximityReached#98e0d697A user of the chat is now in proximity of another user
messageActionGroupCall#7a0d7f42The group call has ended
messageActionInviteToGroupCall#502f92f7A set of users was invited to the group call
messageActionSetMessagesTTL#3c134d7bThe Time-To-Live of messages in this chat was changed.
messageActionGroupCallScheduled#b3a07661A group call was scheduled
messageActionSetChatTheme#b91bbd3aThe chat theme was changed
messageActionChatJoinedByRequest#ebbca3cbA user was accepted into the group by an admin
messageActionWebViewDataSentMe#47dd8079Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (bot side service message).
messageActionWebViewDataSent#b4c38cb5Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (user side service message).
messageActionGiftPremium#48e91302Info about a gifted Telegram Premium subscription
messageActionTopicCreate#0d999256A forum topic was created.
messageActionTopicEdit#c0944820Forum topic information was edited.
messageActionSuggestProfilePhoto#57de635eA new profile picture was suggested using photos.uploadContactProfilePhoto.
messageActionRequestedPeer#31518e9bContains 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#5060a3f4The wallpaper » of the current chat was changed.
messageActionGiftCode#31c48347Contains a Telegram Premium giftcode link.
messageActionGiveawayLaunch#a80f51e4A giveaway was started.
messageActionGiveawayResults#87e2f155A giveaway has ended.
messageActionBoostApply#cc02aa6dSome boosts » were applied to the channel or supergroup.
messageActionRequestedPeerSentMe#93b31848Contains 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#41b3e202Describes a payment refund (service message received by both users and bots).
messageActionGiftStars#45d5b021You gifted or were gifted some Telegram Stars.
messageActionPrizeStars#b00c47a2You won some Telegram Stars in a Telegram Star giveaway ».
messageActionStarGift#ea2c31d3You received a gift, see here » for more info.
messageActionStarGiftUnique#7e1c1187A gift » was upgraded to a collectible gift ».
messageActionPaidMessagesRefunded#ac1f1fcdSent 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#84b88578The price of paid messages » in this chat was changed.
messageActionConferenceCall#2ffe2f7aRepresents a conference call (or an invitation to a conference call, if neither the missed nor active flags are set).
messageActionTodoCompletions#cc7c5c89Items were marked as completed or not completed in a todo list ».
messageActionTodoAppendTasks#c7edbc83Items were appended to the todo list ».
messageActionSuggestedPostApproval#ee7a1596A suggested post » was approved or rejected.
messageActionSuggestedPostSuccess#95ddcf69A suggested post » was successfully posted, and payment for it was successfully received.
messageActionSuggestedPostRefund#69f916f8A 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#a8a3c699You were gifted some toncoins.
messageActionSuggestBirthday#2c8f2a25A 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

used by (1)