"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.API_CONSTANTS = void 0; const bot_js_1 = require("../bot.js"); const ALL_UPDATE_TYPES = [ ...bot_js_1.DEFAULT_UPDATE_TYPES, "chat_member", "message_reaction", "message_reaction_count", ]; const ALL_CHAT_PERMISSIONS = { is_anonymous: true, can_manage_chat: true, can_delete_messages: true, can_manage_video_chats: true, can_restrict_members: true, can_promote_members: true, can_change_info: true, can_invite_users: true, can_post_stories: true, can_edit_stories: true, can_delete_stories: true, can_post_messages: true, can_edit_messages: true, can_pin_messages: true, can_manage_topics: true, }; /** * A container for constants used in the Telegram Bot API. Currently holds all * available update types as well as all chat permissions. */ exports.API_CONSTANTS = { DEFAULT_UPDATE_TYPES: bot_js_1.DEFAULT_UPDATE_TYPES, ALL_UPDATE_TYPES, ALL_CHAT_PERMISSIONS, }; Object.freeze(exports.API_CONSTANTS);