mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Revert changes in util.py
This commit is contained in:

committed by
GitHub

parent
c27f60b94b
commit
02ae255701
@ -643,15 +643,15 @@ def validate_web_app_data(token: str, raw_init_data: str):
|
|||||||
return hmac.new(secret_key.digest(), data_check_string.encode(), sha256).hexdigest() == init_data_hash
|
return hmac.new(secret_key.digest(), data_check_string.encode(), sha256).hexdigest() == init_data_hash
|
||||||
|
|
||||||
|
|
||||||
# __all__ = (
|
__all__ = (
|
||||||
# "content_type_media", "content_type_service", "update_types",
|
"content_type_media", "content_type_service", "update_types",
|
||||||
# "WorkerThread", "AsyncTask", "CustomRequestResponse",
|
"WorkerThread", "AsyncTask", "CustomRequestResponse",
|
||||||
# "async_dec", "deprecated",
|
"async_dec", "deprecated",
|
||||||
# "is_bytes", "is_string", "is_dict", "is_pil_image",
|
"is_bytes", "is_string", "is_dict", "is_pil_image",
|
||||||
# "chunks", "generate_random_token", "pil_image_to_file",
|
"chunks", "generate_random_token", "pil_image_to_file",
|
||||||
# "is_command", "extract_command", "extract_arguments",
|
"is_command", "extract_command", "extract_arguments",
|
||||||
# "split_string", "smart_split", "escape", "user_link", "quick_markup",
|
"split_string", "smart_split", "escape", "user_link", "quick_markup",
|
||||||
# "antiflood", "parse_web_app_data", "validate_web_app_data",
|
"antiflood", "parse_web_app_data", "validate_web_app_data",
|
||||||
# "or_set", "or_clear", "orify", "OrEvent", "per_thread",
|
"or_set", "or_clear", "orify", "OrEvent", "per_thread",
|
||||||
# "webhook_google_functions"
|
"webhook_google_functions"
|
||||||
# )
|
)
|
||||||
|
Reference in New Issue
Block a user