Commit Graph

160 Commits

Author SHA1 Message Date
levlam
af05db3f15 Add td::Hash and use it everywhere instead of unusable std::hash. 2022-11-23 19:37:32 +03:00
levlam
897032e0fd Add support for multiple usernames. 2022-10-12 21:04:18 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +03:00
levlam
263b383530 Support extended media in inputMessageInvoice. 2022-09-23 16:16:56 +03:00
levlam
e5d1fd0dfa Move InputInvoice methods inside the class. 2022-09-23 12:52:54 +03:00
levlam
1e1191fcfc Move InputInvoice to InputInvoice.h. 2022-09-22 19:08:06 +03:00
levlam
ce9175a00b Always use "must be non-empty". 2022-09-10 22:48:34 +03:00
levlam
df238a7034 Allow to specify application name when opening Web App. 2022-08-25 23:15:53 +03:00
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
f0a89c3dbe Remove process_input_caption in favor of get_formatted_text. 2022-08-15 16:26:51 +03:00
levlam
2be350b8fe Support multiple sizes for audio album covers. 2022-08-05 22:43:53 +03:00
levlam
fac6b73999 Add audio.album_cover. 2022-07-28 17:11:51 +03:00
levlam
366fd53a92 Add class td_api::SpeechRecognitionResult. 2022-07-25 13:47:06 +03:00
levlam
97ab564e07 Prepare for removing premium custom emoji if have no premium. 2022-07-22 18:11:55 +03:00
levlam
ba3f24ed8d Rename stickerTypeEmoji to stickerTypeCustomEmoji. 2022-07-19 14:51:29 +03:00
levlam
219d5ecf87 Add sticker.custom_emoji_id. 2022-07-19 14:45:37 +03:00
levlam
3bfb3cdbb1 Add explicit flag sticker.is_premium. 2022-07-15 13:37:46 +03:00
levlam
5bdc4e207b Add stickerTypeEmoji. 2022-07-14 16:42:27 +03:00
levlam
a896edcd14 Move mask_position out of stickerTypeMask. 2022-07-14 14:38:25 +03:00
levlam
7d5dc9fd16 Split sticker format and sticker type in API. 2022-07-14 13:58:33 +03:00
levlam
e8dccae751 Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
2022-06-28 18:34:53 +03:00
levlam
44832189e3 Add voiceNote.recognized_text 2022-05-25 19:24:40 +03:00
levlam
447cfbfb1d Support premium stickers. 2022-04-26 16:01:29 +03:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03:00
levlam
05c0833525 Add PhotoFormat.h. 2022-04-09 23:21:07 +03:00
levlam
1d6488ab09 Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers. 2022-04-04 15:48:33 +03:00
levlam
a8a343704a Add ChannelType.h. 2022-04-04 15:35:09 +03:00
levlam
e54fac174a Rename web view to web app. 2022-03-31 16:42:59 +03:00
levlam
29ab44b5d2 Add getSimpleWebViewUrl. 2022-03-30 16:27:01 +03:00
levlam
37bf9979c5 Add td_api::sentWebViewMessage. 2022-03-28 15:49:01 +03:00
levlam
d9ddb53056 Add td_api::sendWebViewData. 2022-03-28 15:18:15 +03:00
levlam
9d481df04d Add td_api::answerWebViewQuery. 2022-03-24 11:42:47 +03:00
levlam
461b740987 Add InlineQueriesManager::answer_inline_query function. 2022-03-24 11:31:33 +03:00
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
levlam
79f1890613 Use td_api::StickerType instead of td_api::StickerFormat. 2022-01-26 17:53:38 +03:00
levlam
e2d1824edc Add stickerFormatWebpMask. 2022-01-25 15:27:06 +03:00
levlam
d6bb83dc0e Support WEBM stickers. 2022-01-25 14:58:04 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
b060536ae3 Return Result<...> from get_input_user. 2021-12-16 22:46:03 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
b0eca77c9a Improve logging. 2021-11-08 17:11:35 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
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