File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,15 +5,22 @@ Pyrogram embeds a **smart** (automatic) and lightweight plugin system that is me
55of large projects and to provide a way for creating pluggable components that can be **easily shared ** across different
66Pyrogram applications with **minimal boilerplate code **.
77
8+ .. tip ::
9+
10+ Smart Plugins are completely optional and disabled by default.
11+
812Introduction
913------------
1014
1115Prior to the Smart Plugin system, pluggable handlers were already possible. For example, if you wanted to modularize
1216your applications, you had to do something like this...
1317
14- .. note :: This is an example application that replies in private chats with two messages: one containing the same
15- text message you sent and the other containing the reversed text message (e.g.: "pyrogram" -> "pyrogram" and
16- "margoryp"):
18+ .. note ::
19+
20+ This is an example application that replies in private chats with two messages: one containing the same
21+ text message you sent and the other containing the reversed text message.
22+
23+ Example: *"Pyrogram" * replies with *"Pyrogram" * and *"margoryP" *
1724
1825.. code-block :: text
1926
You can’t perform that action at this time.
0 commit comments