phpbotgram documentation
Welcome to the phpbotgram narrative documentation. Pick the entry that matches what you're trying to do.
Tutorials
Hands-on, step-by-step lessons. Start here if you've never used phpbotgram before. Each step builds on the previous one; by the end of the tutorial track you have a polling bot, a webhook bot, an FSM, and a deployment recipe.
How-to recipes
Task-oriented cookbook. Each recipe answers a single question ("How do I send a media group?", "How do I add a custom filter?") and assumes you already know the basics.
Concepts
Understanding-oriented prose. Each concept page explains why a phpbotgram subsystem works the way it does — the Bot/Session split, the dispatcher cascade, the FSM strategy, etc.
API reference
Auto-generated from the source: every class, method, type, enum.