Skip to content

Commit

Permalink
add refunded_payment filter
Browse files Browse the repository at this point in the history
  • Loading branch information
z44d committed Jul 7, 2024
1 parent ff412d9 commit 3a23043
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tgram/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def __or__(self, other: "Filter") -> "Filter":
pinned_message = Filter(lambda m: getattr(m, "pinned_message"))
invoice = Filter(lambda m: getattr(m, "invoice"))
successful_payment = Filter(lambda m: getattr(m, "successful_payment"))
refunded_payment = Filter(lambda m: getattr(m, "refunded_payment"))
users_shared = Filter(lambda m: getattr(m, "users_shared"))
chat_shared = Filter(lambda m: getattr(m, "chat_shared"))
connected_website = Filter(lambda m: getattr(m, "connected_website"))
Expand Down Expand Up @@ -119,6 +120,7 @@ def __or__(self, other: "Filter") -> "Filter":
| write_access_allowed
| write_access_allowed
| successful_payment
| refunded_payment
| users_shared
| chat_shared
| pinned_message
Expand Down

0 comments on commit 3a23043

Please sign in to comment.