Add Game type

This commit is contained in:
Dan 2018-03-09 14:44:53 +01:00
parent 8bd5a79643
commit 18c20f0ca5

View 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