skip to content
yaebal
yaebal
guide introduction yaebal meta ai tooling newgetting started create a bot core concepts examples recipes comparison cheat sheet typed examples faq troubleshooting
core context & filters contexts (autogen) media & files hooks & errors webhooks & deploy
telegram guides payments & stars inline mode chat admin service events message extras deep links mini apps
migration from gramio from puregram from grammy from telegraf
plugins / state overview authoring session sklad (storage) cache feature-flags i18n scenes state-machine onboarding conversation prompt ai (llm chat) newmorda
plugins / ui keyboard callback-data link-preview inline-results auto-answer hydrate newtyping ephemeral newpagination fmt (markdown/html) rich messages filters guards commands payments mini-app
plugins / media files file-id media-cache media-group split preview
plugins / ops again throttle ratelimiter broadcast cron panel analytics audit-log
scaling web (edge) production local bot api rate limits deploy targets observability queues & broadcasts runner workers runtimes router toml test
reference public api reference bot api reference @yaebal/types packages map
github opens in a new tab
Available methods

removeMyProfilePhoto()

Removes the profile photo of the bot. Requires no parameters. Returns True on success.

parameters

this method takes no parameters.

returns

boolean

usage in yaebal

removeMyProfilePhoto is directly typed on Api — call it straight off bot.api.

bot.ts
await bot.api.removeMyProfilePhoto();
official Bot API docs: https://core.telegram.org/bots/api/#removemyprofilephoto
edit this page