Add MessageEntity type

This commit is contained in:
Dan 2018-03-09 14:45:18 +01:00
parent 48bf7438b7
commit 4e4d9e6e44

View File

@ -0,0 +1,15 @@
from . import User
class MessageEntity:
def __init__(self,
type: str,
offset: int,
length: int,
url: str = None,
user: User = None):
self.type = type
self.offset = offset
self.length = length
self.url = url
self.user = user