mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +03:00
Add files via upload
This commit is contained in:
parent
68d97fa717
commit
bb1775f960
|
@ -22,6 +22,7 @@ logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
||||||
level=logging.WARNING)
|
level=logging.WARNING)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def get_env(name, message, cast=str):
|
def get_env(name, message, cast=str):
|
||||||
if name in os.environ:
|
if name in os.environ:
|
||||||
return os.environ[name]
|
return os.environ[name]
|
||||||
|
@ -129,7 +130,6 @@ def generate_invoice(price_label: str, price_amount: int, currency: str, title:
|
||||||
# see: https://core.telegram.org/bots#deep-linking
|
# see: https://core.telegram.org/bots#deep-linking
|
||||||
# it may be the empty string if not needed
|
# it may be the empty string if not needed
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user