Commit Graph

115 Commits

Author SHA1 Message Date
levlam
e87bf3a174 Fix some MultiPromise locks. 2021-10-07 18:14:49 +03:00
levlam
cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
levlam
bc84bfecab Remove legacy loading of recent inline bots only by username. 2021-09-26 20:23:40 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
0ec10947d5 Fix some misprints. 2021-09-06 13:58:40 +03:00
levlam
aaff89a6c3 Make get_document_object methods const. 2021-08-28 14:16:29 +03:00
levlam
e0c9efc26b Skip bot command entities if needed. 2021-07-22 05:39:16 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
9440925711 Move some classes inside corresponding managers. 2021-06-18 03:06:20 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
7e9818f5c1 Remove invoices and games from inline query results in unallowed chats. 2021-04-13 03:32:57 +03:00
levlam
6cf3755707 Improve get_input_bot_inline_message_media_* functions. 2021-03-31 02:54:29 +03:00
levlam
aa65e2b586 Allow to send invoice messages in all chat types. 2021-03-31 02:45:10 +03:00
levlam
2379735d9b Support sending Invoice as result of any inline query. 2021-03-31 01:55:12 +03:00
levlam
b5655ddab6 Pass UserId to Contact::Contact. 2021-03-29 08:20:54 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
65d3557f63 Add outline support for sticker set thumbnails. 2020-12-14 17:16:57 +03:00
levlam
9e0dba0db4 Separate inline query results cache for different chat types. 2020-12-08 01:26:40 +03:00
levlam
6a38d219f0 Update layer 122. Add updateNewInlineQuery.chat_type (can be sent by the server in the distant future). 2020-12-07 23:08:18 +03:00
levlam
1da1a14255 Represent sticker contours as vector path. 2020-12-02 18:45:06 +03:00
levlam
3ff1f6cec1 Add sticker cover to API. 2020-11-20 16:22:07 +03:00
levlam
5cbf90e4a0 Safer work with negative monotonic time. 2020-11-21 16:34:39 +03:00
levlam
c1de6a7d8d Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00
levlam
6f4c4adcc8 Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
2020-10-30 15:51:20 +03:00
levlam
86c80e652e Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
2020-10-29 22:25:58 +03:00
levlam
ecf9ea23ac Remove accuracy from inline result description.
GitOrigin-RevId: 0c6ff5d197d2292c748c260d0afbdb0cd265f2ad
2020-10-26 23:12:04 +03:00
levlam
38fe050dba Update layer 120. New live location approaching API.
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
2020-10-25 00:49:41 +03:00
levlam
9558b06021 Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
2020-10-17 22:47:47 +03:00
levlam
6e3eda2aa1 Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
2020-10-16 23:08:28 +03:00
levlam
1a4a834b2d Add progressive JPEG support.
GitOrigin-RevId: 48c56c3c2575da76df5e9237f6fb043e374bf30d
2020-08-25 15:09:24 +03:00
levlam
f8b6d7340e Fix thumbnail format copy.
GitOrigin-RevId: 0b2a91ed524ce652c871f5d508f4a38ea36468f5
2020-07-20 01:02:41 +03:00
levlam
aee1132ac5 Ignore inline query games without photo.
GitOrigin-RevId: fbaacdb3054d18b23806ea12cdb3f5a376761299
2020-07-06 21:51:49 +03:00
levlam
9a92f6d571 Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
2020-07-06 18:45:43 +03:00
levlam
01d367ea9b Support new BOT_RESPONSE_TIMEOUT error.
GitOrigin-RevId: 958289f3dab582be0560f7dc11598210448d5139
2020-07-06 17:39:53 +03:00
levlam
4acf82c506 Add Photo.is_empty().
GitOrigin-RevId: 6dd6aeaaaa703f9cd865598d52b97eb64523fea0
2020-06-23 21:04:26 +03:00
levlam
ef04c17a89 Init photo ID to invalid by default.
GitOrigin-RevId: 072cd8bbd87267e086ed9a280ba5238e5e231a84
2020-06-23 20:50:16 +03:00
levlam
c921bcc5ed Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
2020-06-10 02:44:54 +03:00
levlam
e665edc4fc Rename thumbnail.thumbnail to thumbnail.file.
GitOrigin-RevId: e50ff07938086c7c4de7953e57206ebfb96b50e4
2020-06-02 13:27:06 +03:00
levlam
113f3a7080 Add thumbnailFormatGif.
GitOrigin-RevId: 4ad35c83a6ae47d92cbb66cb60622d147f11c7b4
2020-06-01 20:34:48 +03:00
levlam
8d0fa5ce77 Add td_api::thumbnail.
GitOrigin-RevId: b74fa62e415816ce63d3bd4415bd2bb8d6aa3f8b
2020-05-31 22:22:15 +03:00
levlam
4a1e2ee34c Add animated thumbnail support for animations and videos
GitOrigin-RevId: a9026a32be9a9ddf2597c6244e112fd853d81b1f
2020-05-30 01:48:56 +03:00
levlam
e8cb1dfeb5 Support stickers attached to animation.
GitOrigin-RevId: 3e2464146410fbc68b51721b10327f1ac92cbb66
2020-05-29 11:51:51 +03:00
levlam
4c80155092 Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
2020-05-18 22:54:18 +03:00
levlam
ebf10667b7 Added support for animated thumbnails in inline animations.
GitOrigin-RevId: 5a8830d6e89256900335b8667405b2f81f22f5bd
2020-05-15 19:48:21 +03:00