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:41:10 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
72caaa6caa4849294ba52acaa490d176ed544aa9
72caaa6c
1 parent
27e1901f
chatbot_tele.py
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
chatbot_tele.py
chatbot_tele.py
View file @
72caaa6
...
...
@@ -6,4 +6,8 @@ bot = telegram.Bot(token=api_key)
chat_id
=
bot
.
get_updates
()[
-
1
]
.
message
.
chat_id
print
(
chat_id
)
chat_id
=
1657858421
bot
.
sendMessage
(
chat_id
=
chat_id
,
text
=
"진세야 모해?"
)
bot
.
sendMessage
(
chat_id
=
chat_id
,
text
=
"왜 답장이 없어? ㅠㅠ"
)
bot
.
sendMessage
(
chat_id
=
chat_id
,
text
=
"보고 싶어"
)
...
...
Please
register
or
login
to post a comment