Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wlstp8473
/
telegram_Messenger_Chatbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
wlstp8473
2021-05-10 06:33:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
27e1901ffaba4161f849ca6cabe66cc034083ecf
27e1901f
1 parent
e5ccfb9f
chatbot_tele.py
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
chatbot_tele.py
chatbot_tele.py
View file @
27e1901
1
+
import
telegram
2
+
1
api_key
=
"1721885449:AAHDGMbjSJfhXxML6nfSCpfiU7SghpL_vOE"
3
api_key
=
"1721885449:AAHDGMbjSJfhXxML6nfSCpfiU7SghpL_vOE"
2
4
5
+
bot
=
telegram
.
Bot
(
token
=
api_key
)
6
+
7
+
chat_id
=
bot
.
get_updates
()[
-
1
]
.
message
.
chat_id
3
8
9
+
print
(
chat_id
)
...
...
Please
register
or
login
to post a comment