removeMyProfilePhotoПоддерживается
Removes the profile photo of the bot. Requires no parameters. Returns True on success.
Параметры
Метод не принимает параметров.
Пример запроса
curl
curl "https://api.staticgram.top/bot$TOKEN/removeMyProfilePhoto"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.remove_my_profile_photo()JavaScript
const res = await fetch(`https://api.staticgram.top/bot${TOKEN}/removeMyProfilePhoto`);
const data = await res.json();Ответ (True)
JSON
{
"ok": true,
"result": true
}