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

Method create_text_message

tests/test_telebot.py:523–526  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

521
522 @staticmethod
523 def create_text_message(text):
524 params = {'text': text}
525 chat = types.User(11, False, 'test')
526 return types.Message(1, None, None, chat, 'text', params, "")
527
528 @staticmethod
529 def create_message_update(text):

Calls

no outgoing calls

Tested by

no test coverage detected