Skip to content

Commit

Permalink
Update string_gen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StarkGang authored Jun 1, 2021
1 parent 3b7ad5d commit fd7766a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions string_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
"""

print(friday_)

api_id = input("Enter Your API ID: \n")
api_hash = input("Enter Your API HASH : \n")

with Client("FridayUB", api_id=api_id, api_hash=api_hash) as bot_:
first_name = (bot_.get_me()).first_name
string_session_ = f"<b>String Session For {first_name}</b> \n<code>{bot_.export_session_string()}</code>"
string_session_ = f"<b><u>String Session For {first_name}</b></u> \n<code>{bot_.export_session_string()}</code>"
bot_.send_message("me", string_session_, parse_mode="html")
print(f"String Has Been Sent To Your Saved Message : {first_name}")
print(f"String Has Been Sent To Your Saved Message : {first_name}")

0 comments on commit fd7766a

Please sign in to comment.