setMyDescriptionПоддерживается
Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success.
Параметры
New bot description; 0-512 characters. Pass an empty string to remove the dedicated description for the given language.
A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.
Пример запроса
curl
curl "https://api.staticgram.top/bot$TOKEN/setMyDescription"aiogram 3
from aiogram import Bot
from aiogram.client.session.aiohttp import AiohttpSession
from aiogram.client.telegram import TelegramAPIServer
session = AiohttpSession(api=TelegramAPIServer.from_base("https://api.staticgram.top"))
bot = Bot(TOKEN, session=session)
result = await bot.set_my_description()JavaScript
const res = await fetch(`https://api.staticgram.top/bot${TOKEN}/setMyDescription`);
const data = await res.json();Ответ (True)
JSON
{
"ok": true,
"result": true
}