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

Method test_copy_message

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

Source from the content-addressed store, hash-verified

320 assert ret_msg.forward_from
321
322 def test_copy_message(self):
323 text = 'CI copy_message Test Message'
324 tb = telebot.TeleBot(TOKEN)
325 msg = tb.send_message(CHAT_ID, text)
326 ret_msg = tb.copy_message(CHAT_ID, CHAT_ID, msg.message_id)
327 assert ret_msg
328
329 def test_forward_message_dis_noti(self):
330 text = 'CI forward_message Test Message'

Callers

nothing calls this directly

Calls 2

send_messageMethod · 0.95
copy_messageMethod · 0.95

Tested by

no test coverage detected