mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-31 04:44:50 +00:00
Merge pull request #88 from Sahidmalik001/patch-1
Fix error in `RequestedChats` class parsing method Corrected the par…
This commit is contained in:
commit
f030f00e9d
1 changed files with 4 additions and 4 deletions
|
|
@ -18,10 +18,10 @@
|
|||
|
||||
from ..object import Object
|
||||
from pyrogram import enums, raw, types
|
||||
from typing import Union
|
||||
from typing import Union, List
|
||||
|
||||
class RequestedChats(Object):
|
||||
"""Contains information about a requested chats.
|
||||
"""Contains information about requested chats.
|
||||
|
||||
Parameters:
|
||||
button_id (``int``):
|
||||
|
|
@ -36,8 +36,8 @@ class RequestedChats(Object):
|
|||
def __init__(
|
||||
self,
|
||||
button_id: int,
|
||||
chats: list["types.RequestedChat"] = None,
|
||||
users: list["types.RequestedUser"] = None
|
||||
chats: List["types.RequestedChat"] = None,
|
||||
users: List["types.RequestedUser"] = None
|
||||
):
|
||||
super().__init__()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue