From 4b7c6810c09955dc8267d7c76c38247ced8daa1b Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 22 Mar 2019 13:33:47 +0100 Subject: [PATCH] Make get_sticker_set_name "private" with a leading underscore _ --- pyrogram/client/types/messages_and_media/sticker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client/types/messages_and_media/sticker.py b/pyrogram/client/types/messages_and_media/sticker.py index 43fb6e98..18dc5e13 100644 --- a/pyrogram/client/types/messages_and_media/sticker.py +++ b/pyrogram/client/types/messages_and_media/sticker.py @@ -99,7 +99,7 @@ class Sticker(PyrogramType): @staticmethod @lru_cache(maxsize=256) - def get_sticker_set_name(send, input_sticker_set_id): + def _get_sticker_set_name(send, input_sticker_set_id): try: return send( functions.messages.GetStickerSet( @@ -119,7 +119,7 @@ class Sticker(PyrogramType): if isinstance(sticker_set, types.InputStickerSetID): input_sticker_set_id = (sticker_set.id, sticker_set.access_hash) - set_name = Sticker.get_sticker_set_name(client.send, input_sticker_set_id) + set_name = Sticker._get_sticker_set_name(client.send, input_sticker_set_id) else: set_name = None