mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 14:25:55 +00:00
Update docs
This commit is contained in:
2
compiler/docs/template/bound-methods.rst
vendored
2
compiler/docs/template/bound-methods.rst
vendored
@@ -15,7 +15,7 @@ some of the required arguments.
|
||||
|
||||
@app.on_message()
|
||||
def hello(client, message)
|
||||
message.reply("hi")
|
||||
message.reply_text("hi")
|
||||
|
||||
|
||||
app.run()
|
||||
|
4
compiler/docs/template/types.rst
vendored
4
compiler/docs/template/types.rst
vendored
@@ -1,12 +1,12 @@
|
||||
Available Types
|
||||
===============
|
||||
|
||||
This page is about Pyrogram types. All types listed here are accessible through the main package directly.
|
||||
This page is about Pyrogram types. All types listed here are accessible through ``types`` package.
|
||||
|
||||
.. code-block:: python
|
||||
:emphasize-lines: 1
|
||||
|
||||
from pyrogram import User, Message, ...
|
||||
from pyrogram.types import User, Message, ...
|
||||
|
||||
.. note::
|
||||
|
||||
|
Reference in New Issue
Block a user