{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telegram/json-schema/telegram-chat-permissions-schema.json",
  "title": "ChatPermissions",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telegram-member-management-api-openapi.yml#/components/schemas/ChatPermissions",
  "type": "object",
  "properties": {
    "can_send_messages": {
      "type": "boolean",
      "description": "True if the user is allowed to send text messages"
    },
    "can_send_audios": {
      "type": "boolean",
      "description": "True if the user is allowed to send audios"
    },
    "can_send_documents": {
      "type": "boolean",
      "description": "True if the user is allowed to send documents"
    },
    "can_send_photos": {
      "type": "boolean",
      "description": "True if the user is allowed to send photos"
    },
    "can_send_videos": {
      "type": "boolean",
      "description": "True if the user is allowed to send videos"
    },
    "can_send_polls": {
      "type": "boolean",
      "description": "True if the user is allowed to send polls"
    },
    "can_send_other_messages": {
      "type": "boolean",
      "description": "True if the user is allowed to send animations, games, stickers"
    },
    "can_add_web_page_previews": {
      "type": "boolean",
      "description": "True if the user is allowed to add web page previews to messages"
    },
    "can_change_info": {
      "type": "boolean",
      "description": "True if the user is allowed to change chat title, photo and settings"
    },
    "can_invite_users": {
      "type": "boolean",
      "description": "True if the user is allowed to invite new users to the chat"
    },
    "can_pin_messages": {
      "type": "boolean",
      "description": "True if the user is allowed to pin messages"
    }
  }
}