mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Clean up MessageEntity comments
This commit is contained in:
parent
85e3c05216
commit
84e7bb5c50
@ -45,9 +45,16 @@ class MessageEntity(Object):
|
|||||||
|
|
||||||
ID = 0xb0700004
|
ID = 0xb0700004
|
||||||
|
|
||||||
def __init__(self, type: str, offset: int, length: int, url: str = None, user=None):
|
def __init__(
|
||||||
self.type = type # string
|
self,
|
||||||
self.offset = offset # int
|
type: str,
|
||||||
self.length = length # int
|
offset: int,
|
||||||
self.url = url # flags.0?string
|
length: int,
|
||||||
self.user = user # flags.1?User
|
url: str = None,
|
||||||
|
user=None
|
||||||
|
):
|
||||||
|
self.type = type
|
||||||
|
self.offset = offset
|
||||||
|
self.length = length
|
||||||
|
self.url = url
|
||||||
|
self.user = user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user