chat_idinteger | string · requiredset_default_chat_permissions
Set default member permissions for a group, supergroup, or channel. Pass True to allow, False to restrict. (Internally inverted to match Telegram's ChatBannedRights semantics where True means "banned".) Args: chat_id: ID or username of the chat. send_messages: allow sending text messages send_media: allow sending media (photos, videos, docs, audio) send_stickers: allow sending stickers send_gifs: allow sending GIFs send_games: allow sending games send_inline: allow using inline bots embed_links: allow link previews send_polls: allow sending polls change_info: allow members to change group info (title, photo, description) invite_users: allow members to invite others pin_messages: allow members to pin messages until_date: restriction expiry as Unix timestamp, 0 = permanent (default)
Parameters
send_messagesboolean · default truesend_mediaboolean · default truesend_stickersboolean · default truesend_gifsboolean · default truesend_gamesboolean · default truesend_inlineboolean · default trueembed_linksboolean · default truesend_pollsboolean · default truechange_infoboolean · default falseinvite_usersboolean · default truepin_messagesboolean · default falseuntil_dateinteger · default 0accountstring · default null