← All posts
Guide

Telegram chat_member Updates Missing? Check Filters and Roles

If Telegram messages arrive but chat_member updates do not, check administrator status and explicit update subscriptions first. Telegram requires the bot to be an administrator in the chat and to include "chat_member" in allowed_updates. An empty array does not enable this update type. my_chat_member reports changes to the bot itself; receiving it does not prove that tracking other members is configured.

Key takeaways

  • Select the update type by whose membership you need to observe.
  • Preserve existing subscriptions when adding chat_member; omission retains the previous setting.
  • A status change is not always a join or departure. Restricted members require the is_member flag.
  • Keep the person performing an action separate from the member affected by it.

chat_member vs my_chat_member

The Telegram Bot API reference defines distinct updates:

UpdateWhat it reportsImportant boundary
my_chat_memberThe bot’s own chat-member status changedIn private chats, received only when a user blocks or unblocks the bot
chat_memberA chat member’s status changedRequires administrator status and explicit allowed_updates inclusion
chat_join_requestSomeone requested admissionA request is not confirmed membership; receiving it requires the can_invite_users administrator right

Choose the first for monitoring the bot’s own membership and role, and the second for participant membership tracking. Do not put all three through a handler that labels every update “new member.”

If the missing content is ordinary group text rather than membership updates, use the separate Telegram privacy-mode diagnosis. Disabling privacy mode is not a substitute for the documented chat_member requirements.

Inspect subscriptions before changing the receiver

Use the existing receiving mode. Review the deployed setWebhook configuration or the getUpdates request configuration, rather than a local default that production may no longer use.

Telegram documents two easily missed rules for allowed_updates:

  • An empty list receives update types except chat_member, message_reaction, and message_reaction_count.
  • Leaving the parameter out uses the previous setting.

Build the intended explicit list from the update types your application already needs, then add chat_member and, if needed, my_chat_member. Replacing a list with only the new type can stop unrelated message or callback handlers from receiving their inputs. Keep a reviewed copy of the prior configuration.

Next, verify the bot’s administrator role in the affected chat. A role in one group is not evidence of a role in another. Treat granting administrator access as a deliberate permission decision, not a generic connectivity repair.

After the configuration is correct, create a fresh, agreed test change in a test group. Inspect the received top-level update field before application routing. If the raw update arrives but the screen remains unchanged, investigate the handler rather than changing Telegram permissions again. If delivery itself is failing, follow the getWebhookInfo diagnostic guide without discarding pending updates.

Classify the membership transition, not just the status string

Both membership update types contain ChatMemberUpdated. The official reference defines from as the performer of the action, old_chat_member as the previous member information, and new_chat_member as the new information. The affected person’s identity belongs to the member object’s user, not necessarily from.

For a proposed membership classifier, evaluate both old and new objects using these documented states:

statusMembership interpretation
creator, administrator, memberPresent in the chat
restrictedUse is_member; restrictions alone do not establish departure
left, kickedNot currently a member
Unrecognized or malformed stateUnknown; retain for investigation rather than guessing

Then compare the two membership results:

  • Absent → present: an observed join.
  • Present → absent: an observed departure or removal; retain the actual status and actor for context.
  • Present → present: potentially a role or permission change, not another join.
  • Absent → absent: not a new membership transition. For example, a change from kicked to left does not establish that the user rejoined.

These are recommended application classifications, not additional Telegram event names. Keep the original status information even if the UI displays a simpler label. Do not grant application permissions merely because a Telegram member became an administrator.

Verify with cases that expose false alerts

Use consenting testers and record the expected outcome before each change. This is a proposed test plan, not a report of live results:

  1. Add or remove the bot and confirm the handler identifies my_chat_member separately.
  2. With the bot’s required role and filter configured, have a participant join and leave.
  3. Promote an existing participant: the application should record a role change, not a second join.
  4. Restrict someone who remains a member: is_member=true must not produce a departure alert.
  5. Replay a stored test update into the application test harness: notification deduplication should prevent a second alert.

Store authenticated updates before applying downstream actions, and scope local records by bot, chat, and affected user. If observations conflict or a gap leaves current membership uncertain, getChatMember can query a known user’s current state. Telegram only guarantees that method for other users when the bot is an administrator. A failed lookup is not evidence that the person left, and a successful current lookup cannot reconstruct missed transitions.

Keep UnifyPort’s event contract separate

UnifyPort’s unofficial interface uses normalized events, not the Bot API Update envelope. Its group.updated reference defines data.actor, data.conversation, and data.changes[]. Participant changes use kinds such as member_added, member_removed, promoted, and demoted, with affected IDs in members[].

Do not put chat_member into UnifyPort’s subscribed_events or assume old_chat_member and new_chat_member are present there. The provider event matrix lists Telegram support for group.updated, but describes parser mappings—not guaranteed delivery of every upstream change or a one-to-one mapping of Bot API statuses.

Use the official Bot API when your product requires its exact membership objects and a bot identity. For an existing-account integration, build a separate adapter around the normalized contract and verify signatures using the UnifyPort delivery reference.

FAQ

Does allowed_updates=[] enable chat_member?

No. Telegram explicitly excludes it from the empty-list default. Include "chat_member" and verify the bot is an administrator in the relevant chat.

Why do I receive my_chat_member but not other members’ changes?

They are separate update types. The first concerns the bot itself; check the role and explicit subscription required for the second.

Is restricted the same as removed?

No. Read is_member. A restricted user can remain in the chat.

Next step and sources

Review the deployed update list, then run one controlled membership test before enabling alerts. For normalized account events, start with the group.updated contract.

References checked on 2026-11-28:

UnifyPort API

Turn messaging integration into a stable product pipeline.

Start by sending through one API, then bring every inbound message back into your business system with standard events.