From b16c5d5fa3241c8f4ba7222ebfe361dcd3b0e92d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 27 Jul 2020 15:12:24 +0200 Subject: [PATCH] Update Pyrogram's sticker file id --- examples/hello_world.py | 2 +- pyrogram/client/methods/messages/download_media.py | 2 +- pyrogram/client/methods/messages/send_cached_media.py | 2 +- pyrogram/client/methods/messages/send_sticker.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/hello_world.py b/examples/hello_world.py index 19d0ffe7..5764e979 100644 --- a/examples/hello_world.py +++ b/examples/hello_world.py @@ -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") diff --git a/pyrogram/client/methods/messages/download_media.py b/pyrogram/client/methods/messages/download_media.py index 22054397..01397135 100644 --- a/pyrogram/client/methods/messages/download_media.py +++ b/pyrogram/client/methods/messages/download_media.py @@ -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): diff --git a/pyrogram/client/methods/messages/send_cached_media.py b/pyrogram/client/methods/messages/send_cached_media.py index 463e9bef..1ee139f5 100644 --- a/pyrogram/client/methods/messages/send_cached_media.py +++ b/pyrogram/client/methods/messages/send_cached_media.py @@ -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( diff --git a/pyrogram/client/methods/messages/send_sticker.py b/pyrogram/client/methods/messages/send_sticker.py index 0de47d64..529a4f8d 100644 --- a/pyrogram/client/methods/messages/send_sticker.py +++ b/pyrogram/client/methods/messages/send_sticker.py @@ -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