Add Game type
This commit is contained in:
parent
8bd5a79643
commit
18c20f0ca5
17
pyrogram/client/types/game.py
Normal file
17
pyrogram/client/types/game.py
Normal file
@ -0,0 +1,17 @@
|
||||
from . import Animation
|
||||
|
||||
|
||||
class Game:
|
||||
def __init__(self,
|
||||
title: str,
|
||||
description: str,
|
||||
photo: list,
|
||||
text: str = None,
|
||||
text_entities: list = None,
|
||||
animation: Animation = None):
|
||||
self.title = title
|
||||
self.description = description
|
||||
self.photo = photo
|
||||
self.text = text
|
||||
self.text_entities = text_entities
|
||||
self.animation = animation
|
Loading…
Reference in New Issue
Block a user