vysheng
e8c16c6c29
Merge pull request #617 from Floens/get_self
...
Add get_self command
2015-06-17 12:38:20 +03:00
vvaltman
0faf9f80b7
some fixes. updated tgl
2015-06-17 12:05:57 +03:00
Floens
fbff266dca
Eliminate code duplication, remove the second argument of json_pack_peer
...
All callees were using it the same way
2015-06-07 23:21:05 +02:00
Floens
6dd3951948
Add "get_self" command
...
This executes user_info with our_id
2015-06-07 23:19:07 +02:00
vvaltman
77cfd51d92
fixed crash on empty photo
2015-06-01 15:44:48 +03:00
vvaltman
90927315a7
add "ANSWER 0" line on empty answers to socket
2015-06-01 12:07:44 +03:00
vvaltman
0305e38f13
deleted debug
2015-05-28 14:57:38 +03:00
vvaltman
452c30fc88
Merge branch 'master' of https://github.com/datamachine/tg into datamachine-master
2015-05-27 17:55:19 +03:00
vvaltman
8ba66a8603
proper way to handle interface errors
2015-05-27 17:42:08 +03:00
vvaltman
f9a7f19564
Merge branch 'fix_command_typing_with_status' of https://github.com/luckydonald/tg into luckydonald-fix_command_typing_with_status
2015-05-27 17:38:41 +03:00
vysheng
66f1da63ce
Merge pull request #542 from luckydonald/fix_command_video_caption
...
[commands] Fix for ```send_video``` failing without a caption string given.
2015-05-27 17:30:44 +03:00
vysheng
b9cc048334
Merge pull request #539 from luckydonald/fix_json_user_status
...
[json] Add user online status event
2015-05-27 17:30:25 +03:00
vvaltman
f99a9944c8
updated version
2015-05-27 17:16:42 +03:00
vvaltman
9c00b7dc75
not cause error on empty string in input
2015-05-27 16:49:52 +03:00
Vincent Castellano
8c3adff675
Missed a _GNU_SOURCE define
2015-05-23 18:28:38 -07:00
luckydonald
91c4fcaf8f
More typos found in command help.
...
That's what you get when using regexes...
2015-05-21 18:30:51 +02:00
luckydonald
0e340af2a8
Fix for ``send_video
`` failing without a caption string given.
...
(see https://github.com/vysheng/tg/issues/538 )
2015-05-21 16:42:51 +02:00
luckydonald
b0c092e7b8
Fixed typos in help documentation.
2015-05-20 20:24:19 +02:00
luckydonald
95094949ce
Added out-of-range error status. (@vysheng: Not sure if I did that correctly.)
2015-05-20 20:21:12 +02:00
luckydonald
d30885e9dc
added optional status to send_typing command.
2015-05-20 19:39:33 +02:00
luckydonald
3963eca8ca
added missing "user" attribute to "online-status" event.
...
E.g. ```{"event": "online-status", "online": true, "when": "2015-05-20 00:16:40", "state": 1, "user": {"username": ... }}```
2015-05-20 00:33:10 +02:00
luckydonald
548c2b18e0
added "online-status" event.
...
E.g. ```{"event": "online-status", "online": true, "when": "2015-05-20 00:16:40", "state": 1}```
2015-05-20 00:13:39 +02:00
Vincent Castellano
3c6b54c6e1
Merging to remove bad branch
2015-05-15 09:17:23 -07:00
vvaltman
3ced7bbb27
fixes for last json update
2015-05-15 17:50:07 +03: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
a825b63209
added error codes
2015-05-15 13:31:38 +03:00
vvaltman
611211cc09
prerelease
2015-05-14 15:48:20 +03:00
vvaltman
df628264d5
fixed bug in load_photo ()
2015-05-13 20:43:04 +03:00
vvaltman
000f767fa8
small fix
2015-05-11 17:14:58 +03:00
vvaltman
402375ec43
added json support
2015-05-11 14:20:34 +03:00
vvaltman
8eaa6119b6
added register function from lua
2015-05-06 14:39:45 +03:00
vvaltman
4734c8ba9d
some fixes in LUA. some fixes in readline completion
2015-05-05 21:08:37 +03:00
vvaltman
3f22df2a0c
updated tgl. support for captions
2015-05-05 12:48:58 +03:00
vvaltman
ba1988b530
do not fail after receiving new geo
2015-05-01 20:26:47 +03:00
vvaltman
69839f1266
updated tgl
2015-05-01 20:19:12 +03:00
vvaltman
4240f81f2c
updated tgl
2015-05-01 19:32:06 +03:00
vvaltman
393b514225
updated tgl
2015-05-01 18:12:07 +03:00
vvaltman
c35619f697
updated tgl
2015-04-30 13:43:48 +03:00
vvaltman
4dff2a3f4f
updated tgl. load_user_photo/load_chat_photo methods
2015-04-30 13:00:16 +03:00
vvaltman
8e647e5a92
some fixes
2015-04-28 15:21:50 +03:00
vvaltman
20435fad1b
fixes
2015-04-27 17:52:19 +03:00
vvaltman
f144d3ff30
added get message query
2015-04-27 13:43:31 +03:00
vvaltman
6e86f81e27
fixed clear. added view command to view urls and geo
2015-04-24 18:48:54 +03:00
vvaltman
5da1506e21
some small fixes. new tgl
2015-04-24 16:19:13 +03:00
vvaltman
fe1c9e345c
simple reply support
2015-04-24 14:08:01 +03:00
vvaltman
232a9f12d9
some fixes. updated tgl
2015-04-24 12:38:21 +03:00
vvaltman
443412cded
updated tgl
2015-04-23 19:43:05 +03:00
vvaltman
8bcd9378a0
partial reply support
2015-04-23 18:22:11 +03:00
vvaltman
ff1057eaae
fixes
2015-04-22 20:09:53 +03:00
Vysheng
048bcb2c91
updated to latest version of tgl. fixed output of attachments in secret chats
2015-01-14 19:19:03 +03:00