MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / test_send_message

Method test_send_message

tests/test_telebot.py:268–272  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

266 assert file_info.file_id == file_id
267
268 def test_send_message(self):
269 text = 'CI Test Message'
270 tb = telebot.TeleBot(TOKEN)
271 ret_msg = tb.send_message(CHAT_ID, text)
272 assert ret_msg.message_id
273
274 def test_send_dice(self):
275 tb = telebot.TeleBot(TOKEN)

Callers

nothing calls this directly

Calls 1

send_messageMethod · 0.95

Tested by

no test coverage detected