Update Pyrogram's sticker file id
This commit is contained in:
parent
516e0a13d5
commit
b16c5d5fa3
@ -13,4 +13,4 @@ with app:
|
||||
app.send_location("me", 51.500729, -0.124583)
|
||||
|
||||
# Send a sticker
|
||||
app.send_sticker("me", "CAADBAADyg4AAvLQYAEYD4F7vcZ43AI")
|
||||
app.send_sticker("me", "CAADBAADzg4AAvLQYAEz_x2EOgdRwBYE")
|
||||
|
@ -98,7 +98,7 @@ class DownloadMedia(BaseClient):
|
||||
app.download_media(message)
|
||||
|
||||
# Download from file id
|
||||
app.download_media("CAADBAADyg4AAvLQYAEYD4F7vcZ43AI")
|
||||
app.download_media("CAADBAADzg4AAvLQYAEz_x2EOgdRwBYE")
|
||||
|
||||
# Keep track of the progress while downloading
|
||||
def progress(current, total):
|
||||
|
@ -91,7 +91,7 @@ class SendCachedMedia(BaseClient):
|
||||
Example:
|
||||
.. code-block:: python
|
||||
|
||||
app.send_cached_media("me", "CAADBAADyg4AAvLQYAEYD4F7vcZ43AI")
|
||||
app.send_cached_media("me", "CAADBAADzg4AAvLQYAEz_x2EOgdRwBYE")
|
||||
"""
|
||||
|
||||
r = self.send(
|
||||
|
@ -110,7 +110,7 @@ class SendSticker(BaseClient):
|
||||
app.send_sticker("me", "sticker.webp")
|
||||
|
||||
# Send sticker using file_id
|
||||
app.send_sticker("me", "CAADBAADyg4AAvLQYAEYD4F7vcZ43AI")
|
||||
app.send_sticker("me", "CAADBAADzg4AAvLQYAEz_x2EOgdRwBYE")
|
||||
"""
|
||||
file = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user