feat: add auto-reply on payment (#82)

This commit is contained in:
Vlad Stan 2023-09-15 10:21:03 +03:00 committed by GitHub
parent 9b98bd71c0
commit 2891474312
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 28 deletions

View file

@ -218,6 +218,8 @@ class Stall(PartialStall, Nostrable):
class ProductConfig(BaseModel):
description: Optional[str]
currency: Optional[str]
use_autoreply: Optional[bool] = False
autoreply_message: Optional[str]
class PartialProduct(BaseModel):