### Copy Configuration File Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Demonstrates how to create a development-specific configuration file from a base template, essential for managing test settings. ```bash cp appsettings.json appsettings.Development.json ``` -------------------------------- ### Bot Commands Configuration Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Defines essential commands for the Telegram bot to initiate test execution and select testers for administrative methods. ```text test - Start test execution me - Select me for testing admin methods ``` -------------------------------- ### Configure Chat Administration Member Details Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Configures essential details for regular members involved in chat administration tests. If these settings are not provided, the bot will prompt a tester to send a `/me` command in a private chat. ```json { "RegularMemberUserId": 1234567890, "RegularMemberUserName": "tester3", "RegularMemberPrivateChatId": 1234567890 } ``` -------------------------------- ### Payment Provider Token Configuration Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Provides the necessary token for the payment provider, which is essential for conducting any payment-related test cases. ```json { /* ... */ "PaymentProviderToken": "MY-PAYMENT-PROVIDER-TOKEN" /* ... */ } ``` -------------------------------- ### API Token Configuration Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Specifies the required API token for the Telegram bot, which is mandatory for executing any test case. ```json { "ApiToken": "MyTestBot-API-TOKEN" /* ... */ } ``` -------------------------------- ### Allowed Users Configuration Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Configures a comma-separated list of tester usernames to filter incoming updates, ensuring only authorized users interact with the bot during tests. ```json { /* ... */ "AllowedUserNames": "tester1, Tester2, TESTER3" /* ... */ } ``` -------------------------------- ### Configure Tester Private Chat ID Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Sets the `TesterPrivateChatId` for sending invoices to private chats. If this setting is not provided, the bot will wait for a tester to send it the `/test` command in a private chat. ```json { "TesterPrivateChatId": 1234567890 } ``` -------------------------------- ### Supergroup Chat ID Configuration Source: https://github.com/telegrambots/telegram.bot/blob/master/test/Telegram.Bot.Tests.Integ/README.md Sets the identifier for the supergroup chat where the bot sends most messages, or allows interactive input if not provided. ```json { /* ... */ "SuperGroupChatId": -1234567890 /* ... */ } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.