From 18c20f0ca5d69cca238e90eb923798688656dd77 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 9 Mar 2018 14:44:53 +0100 Subject: [PATCH] Add Game type --- pyrogram/client/types/game.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pyrogram/client/types/game.py diff --git a/pyrogram/client/types/game.py b/pyrogram/client/types/game.py new file mode 100644 index 00000000..387af3f4 --- /dev/null +++ b/pyrogram/client/types/game.py @@ -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