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

Function start

examples/middleware/function_based/i18n.py:49–50  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

47
48@bot.message_handler(commands=['start'])
49def start(message):
50 bot.send_message(message.chat.id, _('hello'))
51
52
53bot.infinity_polling()

Callers

nothing calls this directly

Calls 2

_Function · 0.85
send_messageMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…