mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Add Game type
This commit is contained in:
parent
8bd5a79643
commit
18c20f0ca5
1 changed files with 17 additions and 0 deletions
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 a new issue