Update examples for send_media_group.py (#481)
InputMediaPhoto and InputMediaVideo are under pyrogram.types
This commit is contained in:
parent
d41f8a66f0
commit
87f20a1ac2
@ -62,7 +62,7 @@ class SendMediaGroup(Scaffold):
|
|||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from pyrogram import InputMediaPhoto, InputMediaVideo
|
from pyrogram.types import InputMediaPhoto, InputMediaVideo
|
||||||
|
|
||||||
app.send_media_group(
|
app.send_media_group(
|
||||||
"me",
|
"me",
|
||||||
|
Loading…
Reference in New Issue
Block a user