Commit Graph

5 Commits

Author SHA1 Message Date
luckydonald
8ff3b78577 added status string to 'typing' service.
E.g. ``` {  ... ,   "type":"typing", "status":"recording audio",  ... }```
2015-05-19 21:25:20 +02:00
luckydonald
8b8a69ec83 Fixes for #516:
Added output when message are marked read (if ```--json```), which fixes Issue [#516] (https://github.com/vysheng/tg/issues/516#issuecomment-101710890)
Also added event field to json which will be send to terminal/main_session:
"event" = "message", "read" (message got read), "service", (events only in secret chats?)  "updates" (peer name change etc), "download" (file downloaded)
2015-05-15 16:06:30 +02:00
vvaltman
1823005ff5 fixed compilation error with old libjansson 2015-05-15 12:58:10 +03:00
luckydonald
5174d1399a fixed: flags were named "id" too. 2015-05-13 18:50:49 +02:00
vvaltman
402375ec43 added json support 2015-05-11 14:20:34 +03:00