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

Method test_forward_message_dis_noti

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

Source from the content-addressed store, hash-verified

327 assert ret_msg
328
329 def test_forward_message_dis_noti(self):
330 text = 'CI forward_message Test Message'
331 tb = telebot.TeleBot(TOKEN)
332 msg = tb.send_message(CHAT_ID, text)
333 ret_msg = tb.forward_message(CHAT_ID, CHAT_ID, msg.message_id, disable_notification=True)
334 assert ret_msg.forward_from
335
336 def test_reply_to(self):
337 text = 'CI reply_to Test Message'

Callers

nothing calls this directly

Calls 2

send_messageMethod · 0.95
forward_messageMethod · 0.95

Tested by

no test coverage detected