Tool

Set chat permissions

The telegram_bot_api-set-chat-permissions tool allows administrators to efficiently manage default permissions for all members of a Telegram chat or group. It streamlines controlling chat functionalities directly through the Telegram Bot API, ensuring smooth governance and user interaction.

telegram_bot_api

Features

  • Set default chat permissions for all members via Telegram Bot API.
  • Supports configuration of message sending, media sharing, and poll creation permissions.
  • Allows toggling permissions for animations, games, stickers, and inline bot usage.
  • Enables control over changing chat info, inviting users, and pinning messages.
  • Simple integration with chat ID or public group usernames for easy setup.

Benefits

  • Enhances chat security by precisely managing user capabilities.
  • Reduces administrative effort by automating permission settings for entire chats.
  • Improves member experience by customizing access to features per group needs.
  • Ensures compliance with community rules and moderation policies.
  • Facilitates scalable management for large Telegram groups and supergroups.

Description

Set default chat permissions for all members. See the docs for more information

Parameters

9 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.

canSendMessagesboolean

If the user is allowed to send text messages, contacts, locations and venues

canSendMediaMessagesboolean

If the user is allowed to send audios, documents, photos, videos, video notes and voice notes

canSendPollsboolean

If the user is allowed to send polls

canSendOtherMessagesboolean

If the user is allowed to send animations, games, stickers and use inline bots

canAddWebPagePreviewsboolean

If the user is allowed to add web page previews to their messages

canChangeInfoboolean

If the user is allowed to change the chat title, photo and other settings. Ignored in public SuperGroups

canInviteUsersboolean

If the user is allowed to invite new users to the chat

canPinMessagesboolean

If the user is allowed to pin messages. Ignored in public SuperGroups

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 .