Commit a240097b authored by Vincent Castellano's avatar Vincent Castellano

progress commit on python support

parent 2a99ce59
......@@ -471,6 +471,9 @@ void usage (void) {
#ifdef USE_LUA
printf (" -s lua script file\n");
#endif
#ifdef USE_PYTHON
printf (" -Z python script file\n");
#endif
printf (" -W send dialog_list query and wait for answer before reading input\n");
printf (" -C disable color output\n");
printf (" -R disable readline\n");
......
This diff is collapsed.
def on_binlog_replay_end():
pass
def on_get_difference_end():
pass
def on_our_id():
pass
def on_msg_receive(msg):
return "Got msg!"
def on_secret_chat_update(peer, types):
return "on_secret_chat_update"
def on_user_update():
pass
def on_chat_update():
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment