mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Fix for older Python versions
This commit is contained in:
parent
210f538d55
commit
1db03c4351
@ -16,6 +16,8 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public License
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from typing import List
|
||||||
|
|
||||||
import pyrogram
|
import pyrogram
|
||||||
from pyrogram import raw
|
from pyrogram import raw
|
||||||
from pyrogram import types
|
from pyrogram import types
|
||||||
@ -24,7 +26,7 @@ from pyrogram import types
|
|||||||
class GetDefaultEmojiStatuses:
|
class GetDefaultEmojiStatuses:
|
||||||
async def get_default_emoji_statuses(
|
async def get_default_emoji_statuses(
|
||||||
self: "pyrogram.Client",
|
self: "pyrogram.Client",
|
||||||
) -> types.List["types.EmojiStatus"]:
|
) -> List["types.EmojiStatus"]:
|
||||||
"""Get the default emoji statuses.
|
"""Get the default emoji statuses.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user