mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
Fix payload generator.
This commit is contained in:
parent
ee1f445845
commit
07b9f3ee3e
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ def generate_payload(exclude=None, **kwargs):
|
|||
exclude = []
|
||||
return {key: value for key, value in kwargs.items() if
|
||||
key not in exclude + DEFAULT_FILTER
|
||||
and value
|
||||
and value is not None
|
||||
and not key.startswith('_')}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue