tg/pytest.py

24 lines
335 B
Python
Raw Normal View History

2015-05-03 00:32:30 -04:00
def on_binlog_replay_end():
pass
def on_get_difference_end():
pass
def on_our_id():
pass
def on_msg_receive(msg):
2015-05-03 02:29:50 -04:00
return "Got msg from " + msg["from"]["peer"]["first_name"]
2015-05-03 00:32:30 -04:00
def on_secret_chat_update(peer, types):
return "on_secret_chat_update"
def on_user_update():
pass
def on_chat_update():
pass