1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #715 from Pablohn26/patch-1

Change chatid to chat_id to be the same as other examples
This commit is contained in:
Badiboy 2020-01-03 01:19:47 +03:00 committed by GitHub
commit 0e0e2d97c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ updates = tb.get_updates()
updates = tb.get_updates(1234,100,20) #get_Updates(offset, limit, timeout):
# sendMessage
tb.send_message(chatid, text)
tb.send_message(chat_id, text)
# forwardMessage
tb.forward_message(to_chat_id, from_chat_id, message_id)