Send purchase state

This commit is contained in:
Eden Kirin
2023-03-30 21:09:11 +02:00
parent 6111d07f09
commit 059408242c
5 changed files with 107 additions and 20 deletions

View File

@ -1,6 +1,16 @@
from typing import Protocol
from typing import Iterable, Optional, Protocol
from hopper.models.product import Product
class SendGameDumpInterface(Protocol):
async def send_game_dump(self) -> None:
...
async def send_product_purchase_message(self, products: Iterable[Product]) -> None:
...
async def send_product_purchase_done_message(
self, product: Optional[Product] = None
) -> None:
...