23rd
97fa92de0b
Added api support for global TTL settings.
2022-11-29 17:41:20 +03:00
John Preston
d89573bab5
Update API scheme to layer 150.
2022-11-29 18:30:38 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
John Preston
8a288476b8
Implement pinned topics reordering.
2022-11-22 00:26:48 +00:00
John Preston
c7741cb62a
Apply short topic info from channelMessages.
2022-11-22 00:26:48 +00:00
John Preston
983b6af0b4
Update API scheme to layer 149.
2022-11-22 00:26:48 +00:00
John Preston
b514496546
Simplify SendProgressManager::done prototype.
2022-11-11 11:44:03 +04:00
John Preston
9d4840c0de
Respect window active state on mark as read.
2022-11-02 20:13:29 +04:00
John Preston
ff352d7647
Fix password request box closing in bot button callback.
2022-11-02 20:13:29 +04:00
John Preston
34a2c5c8ce
Display topic name in chats list.
2022-11-02 16:39:13 +04:00
John Preston
57dc0c632e
Open forum by invite link.
2022-11-01 19:25:45 +04:00
John Preston
15f72ca6c1
Fix contact sharing to topics.
2022-11-01 19:25:44 +04:00
John Preston
1ac051a812
Implement forwarding to topics.
2022-11-01 19:25:44 +04:00
John Preston
aa5f9467f2
Support attach webview bots in topics.
2022-11-01 19:25:43 +04:00
John Preston
88d1a502a5
Implement search in topics / forum messages.
2022-11-01 19:25:42 +04:00
23rd
579b20fff7
Added initial ability to transcribe video messages.
2022-11-01 19:25:42 +04:00
John Preston
ed895ace66
Track dialog row offline status by timer.
...
Fixes #6410 .
2022-11-01 19:25:41 +04:00
John Preston
0cba9e4a22
Support default forum topic icons.
2022-11-01 19:25:41 +04:00
John Preston
4910a60499
Track mentions / reactions together with unread.
2022-11-01 19:25:40 +04:00
John Preston
5356f6cd2c
Reload topics on channelDifferenceTooLong.
2022-11-01 19:25:40 +04:00
John Preston
7cdf20a7c5
Allow topic deletion.
2022-11-01 19:25:40 +04:00
John Preston
adaa1d0c55
Support pinned topics in forums.
2022-11-01 19:25:40 +04:00
23rd
a4856e4436
Added handling of error for too much number of activated usernames.
2022-11-01 19:25:40 +04:00
23rd
ad70942d0e
Moved usernames data management to separated class.
2022-11-01 19:25:39 +04:00
23rd
17623640b3
Slightly improved appearing of usernames list.
2022-11-01 19:25:39 +04:00
23rd
51cead1445
Added initial implementation of api for usernames.
2022-11-01 19:25:38 +04:00
23rd
5751d29c47
Removed username from public data members of UserData.
2022-11-01 19:25:38 +04:00
John Preston
89d0a71591
Update API scheme on layer 148: Drafts in topics.
2022-11-01 19:25:38 +04:00
John Preston
16e189a2ce
Update API scheme on layer 148: Usernames.
2022-11-01 19:25:37 +04:00
John Preston
d92580b8fc
Update API scheme on layer 148: Notifications.
...
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston
b8bdca8921
Extract Data::Thread common for History / ForumTopic.
2022-11-01 19:25:37 +04:00
John Preston
3999bca823
Support unread mentions / reactions in topics.
2022-11-01 19:25:36 +04:00
John Preston
6a7f030ee7
Update API scheme on layer 148.
...
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston
2c0b5b3210
Track unread mentions / reactions in topics.
2022-11-01 19:25:36 +04:00
John Preston
9348039313
Track unread posts in forums inside RepliesList-s.
2022-11-01 19:25:36 +04:00
John Preston
3722e55b67
Support topic on-the-fly creation.
2022-11-01 19:25:35 +04:00
John Preston
d15173e09d
Update API scheme on layer 148.
2022-11-01 19:25:35 +04:00
John Preston
9f652b0d3f
Unify message sending, track forum topic icons.
2022-11-01 19:25:34 +04:00
Ilya Fedin
7b5781b845
Use default-constructed QLocale for date/time/whatever else formatting
...
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide
Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
08321b8d8b
Fix sending custom emoji based on Dice-type game emoji.
2022-09-14 20:41:24 +04:00
John Preston
40bdcd7ebc
Short poll extended media.
2022-09-12 18:18:31 +04:00
John Preston
d2234d88b6
Update extended media, hide inline keyboard.
2022-09-12 16:10:56 +04:00
John Preston
0a3077b9a5
Update API scheme on layer 145.
2022-09-02 21:14:33 +04:00
John Preston
923e725e18
Request default and recent emoji statuses.
2022-09-02 21:14:33 +04:00
23rd
6f3d19914d
Unified parsing of MTP gift and subscription options in separate file.
2022-09-02 21:14:32 +04:00
John Preston
668a3308be
Support custom emoji reactions in WhoReacted.
2022-09-02 21:14:31 +04:00
John Preston
ba83836922
Display custom emoji reactions under messages.
2022-09-02 21:14:31 +04:00
John Preston
8a6b3027f5
Support multiple reactions from one user.
2022-09-02 21:14:31 +04:00
John Preston
31db1804c8
Request top and recent reactions.
2022-09-02 21:14:31 +04:00
John Preston
f8c962712b
Update API scheme on layer 145.
2022-09-02 21:14:31 +04:00
John Preston
f658cb7e99
Update API scheme on layer 145.
2022-09-02 21:14:30 +04:00
John Preston
1e2e007d38
Show custom emoji in private chat reactions.
2022-09-02 21:14:29 +04:00
John Preston
60cc232884
Update API scheme on layer 145.
2022-09-02 21:14:29 +04:00
John Preston
77772caabb
Update API scheme on layer 145.
2022-09-02 21:14:29 +04:00
John Preston
c126a1e56e
Simplify CustomEmojiId.
2022-08-15 13:17:24 +03:00
John Preston
fede1ff173
Simplify stickers inner API.
2022-08-15 11:34:22 +03:00
John Preston
3698396677
Remove MTP from Polls::create interface.
2022-08-11 09:06:43 +03:00
John Preston
e7a3c5367a
Make MTP* optional in ConfirmInviteBox.
2022-08-11 09:02:41 +03:00
John Preston
8bc807dc40
Set name / phone texts on-demand.
2022-08-09 14:12:19 +03:00
John Preston
b7cc2e9894
Don't pass redundant MTPUpdates arguments.
2022-08-05 13:37:41 +03:00
John Preston
9b92700c24
Add additional cloud premium stickers to fake-set.
2022-08-04 17:48:36 +03:00
John Preston
4915ea8ad3
Add convenient appConfig().get<int>(..).
2022-08-02 13:20:38 +03:00
John Preston
8bb3cd7e65
Push click handler context to Api::ActivateBotCommand.
2022-07-28 20:03:38 +03:00
John Preston
e64190fb64
Fix crash in attached emoji preview.
2022-07-27 12:26:22 +03:00
John Preston
4cf4b6a368
Optimize emoji / stickers update requests.
2022-07-26 20:12:14 +03:00
John Preston
b4b55973b5
Request and cache featured emoji sets.
2022-07-26 20:12:13 +03:00
John Preston
b31a3ba5a3
Improve emoji set box design.
2022-07-26 20:12:13 +03:00
John Preston
b14b69272a
Fix build with GCC.
2022-07-26 20:12:12 +03:00
23rd
57ecd918f1
Added auto-unblocking of bot when it is auto-submitted.
2022-07-26 20:12:11 +03:00
23rd
67195f3825
Added initial support of privacy setting for voice messages.
2022-07-26 20:12:11 +03:00
23rd
89a3462824
Simplified extracting of data from some MTP* responses.
2022-07-26 20:12:11 +03:00
John Preston
afc7b1da62
Update API scheme on layer 144.
2022-07-26 20:12:10 +03:00
23rd
5fbbdd8a9e
Added ability to choose to show recent group history for each new user.
...
Fixed #9864 .
2022-07-26 20:12:10 +03:00
John Preston
b87fd601ab
Update API scheme on layer 144.
2022-07-26 20:12:09 +03:00
John Preston
c01d9747e7
Fix inline via @bot click in additional windows
...
Fixes #24717 .
2022-07-26 20:12:09 +03:00
John Preston
2499955496
Support custom emoji in the message input field.
2022-07-26 20:12:08 +03:00
John Preston
21aa1323ec
Provide custom emoji factory through MarkedTextContext.
2022-07-26 20:12:08 +03:00
23rd
243b16398b
Moved out api for user photos to related separated module.
2022-06-14 18:51:38 +04:00
23rd
13146e9c06
Replaced use of raw MTP* bot commands with new transitional classes.
2022-06-14 18:51:18 +04:00
23rd
5f8608ed90
Moved out BotCommand struct to separated file.
2022-06-14 18:45:12 +04:00
23rd
1d475ee727
Slightly optimized includes in application.h.
2022-06-12 16:07:41 +03:00
John Preston
f78b9324dc
Show videos in premium preview boxes.
2022-06-10 12:05:16 +04:00
23rd
e25b0e791d
Provided window session controller to api functions for bots.
2022-06-09 06:23:51 +03:00
John Preston
aaf1383304
Update API scheme on layer 143.
2022-06-08 16:51:31 +04:00
John Preston
f586ea3a75
Handle MSG_VOICE_TOO_LONG for voice messages.
2022-06-06 18:04:27 +04:00
John Preston
0bf58936e3
Update API scheme on layer 143.
2022-06-06 09:44:49 +04:00
John Preston
499923b6d3
Show real subscription price from the API.
2022-06-03 15:57:06 +04:00
John Preston
de31c1cf0c
Subscription status display.
2022-06-02 17:30:01 +04:00
John Preston
0b2a5a22ba
Update API scheme on layer 143 + transcribe.
2022-05-24 23:38:40 +04:00
John Preston
6dedf7c63e
Update API scheme to layer 143.
2022-05-19 17:27:02 +04:00
John Preston
dd05fb4d14
Show limit toasts and boxes.
2022-05-19 17:27:02 +04:00
John Preston
739123dedc
Implement simple premium limits boxes.
2022-05-19 17:27:02 +04:00
John Preston
a752c4d9f3
Update API scheme on layer 142.
2022-05-19 17:27:01 +04:00
23rd
3ef352b63c
Added ability to recover cloud password from Api::CloudPassword.
2022-05-10 08:53:31 +03:00
23rd
01eacadca5
Added ability to set recovery email from Api::CloudPassword.
2022-05-10 08:53:30 +03:00
23rd
9f155e0053
Added ability to confirm recovery email from Api::CloudPassword.
2022-05-10 08:53:30 +03:00
23rd
2f9dc6ca2a
Added ability to check cloud password from Api::CloudPassword.
2022-05-10 08:53:30 +03:00
23rd
3d6f6cdd8f
Added ability to set cloud password from Api::CloudPassword.
2022-05-10 08:53:30 +03:00
Andrew Krasavin
2b383a4236
Explicitly specify QVector element type to fix build with clang13+rangev3+qt6
...
More info:
https://github.com/telegramdesktop/tdesktop/issues/24385
https://github.com/telegramdesktop/tdesktop/issues/24014
https://github.com/ericniebler/range-v3/issues/1691
2022-05-03 15:15:20 +04:00