Tool

Kick chat member

The telegram_bot_api-kick-chat-member tool allows administrators to efficiently remove users from Telegram groups, supergroups, or channels with precise control and timing. It leverages Telegram's official Bot API to ensure seamless user management within chats.

telegram_bot_api

Features

  • Kick users from a group, supergroup, or channel using unique chat identifiers or usernames.
  • Specify the exact user to be removed by providing their unique user ID.
  • Set a temporary ban duration with the option to unban users automatically at a specified Unix time.
  • Integrate easily with Pipedream workflows for automated chat member management.
  • Comprehensive adherence to Telegram Bot API standards with detailed documentation links.
  • Benefits:
  • Maintain a safe and respectful community environment by removing disruptive users.
  • Automate moderation tasks, saving time and reducing manual effort.
  • Ensure temporary bans with automatic unban feature to avoid permanent removal errors.
  • Enhance group management efficiency with easy integration in automated systems.
  • Access reliable and documented API methods backed by Telegram's official platform.

Benefits

  • Maintain a safe and respectful community environment by removing disruptive users.
  • Automate moderation tasks, saving time and reducing manual effort.
  • Ensure temporary bans with automatic unban feature to avoid permanent removal errors.
  • Enhance group management efficiency with easy integration in automated systems.
  • Access reliable and documented API methods backed by Telegram's official platform.

Description

Use this method to kick a user from a group, a supergroup or channel. See the docs for more information

Parameters

3 parameters

NameTypeDescription
chatIdrequiredstring

Enter the unique identifier for the target chat (e.g. 1035597319) or username of the target public chat (in the format @channelusername or @supergroupusername). For example, if the group's public link is t.me/mygroup, the username is @mygroup.

userIdstring

Enter the unique identifier of the target user.

until_datestring

Enter the date when the user will be unbanned, in unix time (e.g. 1567780450).

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .