Slava Monich
c1c8729023
Adapt to changes in reply message info ( #525 )
...
1.8.14:
https://github.com/tdlib/td/commit/fa94aba
1.8.21:
https://github.com/tdlib/td/commit/811a7c6
https://github.com/tdlib/td/commit/5216ea1
2023-11-19 12:21:17 +03:00
Slava Monich
0b6a2db2f1
Adapt to changes in TdLib ( #524 )
...
* Adapt setTdlibParameters for TdLib > 1.8.5
For some reason tdlibParameters were inlined between 1.8.5 and 1.8.6
See https://github.com/tdlib/td/commit/f6a2ecd
* sponsoredMessage => sponsoredMessages in TdLib 1.8.8
See https://github.com/tdlib/td/commit/ec1310a
* Support another variant of messageReaction
The reaction field has changed from string to ReactionType somewhere
between 1.8.5 and 1.8.6
See https://github.com/tdlib/td/commit/b14708f
* Add support for new message reactions API
It has changed between 1.8.5 and 1.8.6
https://github.com/tdlib/td/commit/b14708f (ReactionType)
https://github.com/tdlib/td/commit/0b8e143 (ChatAvailableReactions)
https://github.com/tdlib/td/commit/6b2f6b4 (addMessageReaction)
https://github.com/tdlib/td/commit/d29d367 (updateActiveEmojiReactions)
etc.
* Highlight chosen reaction
* Support username in the new format
username attribute has been replaced with usernames in 1.8.8 and
now looks like this:
"usernames": {
"@type": "usernames",
"active_usernames": [
"whatever"
],
"disabled_usernames": [
],
"editable_username": "whatever"
}
See https://github.com/tdlib/td/commit/897032e
* Support new reply_to message attribute
Since 1.8.15 it replaces reply_to_message_id and reply_in_chat_id.
Looks like this:
"reply_to": {
"@type": "messageReplyToMessage",
"chat_id": -1001234567890,
"is_quote_manual": false,
"message_id": 234567890,
"origin_send_date": 0
},
See https://github.com/tdlib/td/commit/6116573
* Added support for MessageOrigin values
All of a sudden MessageForwardOrigin has been renamed into MessageOrigin
in TdLib 1.8.20 just because why not:
https://github.com/tdlib/td/commit/10c9e40
2023-11-19 12:01:27 +03:00
Sebastian Wolf
a9b6bf5817
React to network configuration changes, fixes #504
2022-07-10 22:39:52 +02:00
Sebastian Wolf
99910a3f3a
Bring unread mention/reactions to chat list
2022-06-06 15:55:21 +02:00
Sebastian Wolf
0cc6f959fc
Option to mark all chat reactions as read
2022-05-24 21:19:15 +02:00
Sebastian Wolf
033f96b366
Display reactions to message
2022-05-23 23:33:17 +02:00
Sebastian Wolf
0e7ae00a67
Workaround for t.me/+... links
2022-05-01 14:04:28 +02:00
Sebastian Wolf
81cf5b6852
Use normal URL dialog for t.me/+... links
2022-05-01 01:17:37 +02:00
Sebastian Wolf
6d6b07b9a9
Get available message reactions
2022-04-30 23:51:47 +02:00
Sebastian Wolf
679426abc1
xdg-open doesn't seem to work anymore on SFOS 4.4
2022-04-24 20:55:06 +02:00
Sebastian Wolf
e40cf02baa
Merge pull request #485 from monich/view-mess
...
Adapt handling of sponsored messages to the new format
2022-04-21 22:57:36 +02:00
Sebastian Wolf
9d6ff8e7d7
Some SailJail stuff, eventually need to become SFOS 4.4-ready
2022-04-21 22:37:14 +02:00
Slava Monich
5f16156f01
Adapt handling of sponsored messages to the new format
2022-03-27 22:22:47 +03:00
Slava Monich
3c5bf563a6
Pass ids to TDLibWrapper::viewMessage as integers
...
Because they are integers
2022-03-27 22:22:47 +03:00
Sebastian Wolf
932f483b7a
TDLib 1.8.0: New format for sponsored messages
2022-01-07 22:03:58 +01:00
Sebastian Wolf
b8e5fb189c
Handle many direct message links properly, fixes #312
2021-12-11 18:29:31 +01:00
Sebastian Wolf
02573e8d4e
Add option to delete private chat, see #439
2021-12-08 22:35:26 +01:00
Sebastian Wolf
0f4e0eaf58
Better support sponsored message types
2021-12-08 00:33:35 +01:00
Slava Monich
84cfcb5150
Contigurable mess
...
There's no UI for that, you have to configure your mess manually))
Also, made sure that chats don't handle another char's mess.
2021-12-06 04:32:40 +02:00
Sebastian Wolf
a59d32b29d
Update to TDLib 1.7.9, preliminary support for sponsored messages
2021-12-05 22:06:05 +01:00
Slava Monich
545b716f24
Don't show Active Sessions button when not authenticated
...
Also, expose authorizationState as TDLibWrapper property.
2021-02-25 02:59:51 +02:00
Sebastian Wolf
aef9fd8391
Support for managing Telegram sessions
2021-02-20 00:14:43 +01:00
Sebastian Wolf
94aee83936
Showing new sticker sets
2021-02-11 23:39:56 +01:00
Sebastian Wolf
3575e1674c
[SFOS4] Documents app can't access our files anymore, always use Downloads
2021-02-08 22:49:34 +01:00
Slava Monich
b1c4311990
Update message view counts in real time
2021-01-31 22:10:45 +02:00
Sebastian Wolf
9b820dad2b
Add and delete profile pictures
2021-01-26 23:26:40 +01:00
Sebastian Wolf
9a5db3e83f
Next steps towards supporting user preferences
2021-01-24 23:46:30 +01:00
Sebastian Wolf
2fcacef6d4
Merge remote-tracking branch 'origin/master' into userPreferences
2021-01-22 22:14:25 +01:00
John Gibbon
e6e63622e5
Implement sending Quiz explanations
...
TDLib 1.7 feature
2021-01-22 11:13:51 +01:00
Sebastian Wolf
f0d14bc440
Change username, prepare privacy setting rules
2021-01-19 23:58:58 +01:00
Sebastian Wolf
4e6d012a7d
Start with personal profile settings
2021-01-19 00:02:37 +01:00
John Gibbon
703931a5a1
Add TDLibImage/TDLibThumbnail; rework Audio/VoiceNote/Document
...
also, again, a quick Location fix before its real turn
2021-01-17 22:38:20 +01:00
Sebastian Wolf
063df54e94
Merge branch 'master' into logout
2021-01-15 22:00:04 +01:00
Santhosh Manikandan S
756a96e92c
Merge branch 'master' into logout
2021-01-11 23:57:31 +05:30
Santhosh Manikandan S
62a17f722f
Added option to logout and login
2021-01-11 23:35:55 +05:30
John Gibbon
1ce981c147
Implement inline queries (among others)
2021-01-10 22:20:05 +01:00
Sebastian Wolf
e3370bf73e
Add chat list menu option to pin/unpin chat
2021-01-07 22:47:42 +01:00
Sebastian Wolf
9299205379
Show pinned chat icon in list
2021-01-06 10:42:12 +01:00
Sebastian Wolf
2b634471dc
Sending locations seems to work as well...
2021-01-03 01:22:30 +01:00
Sebastian Wolf
5213084fb1
Sending voice notes seems to work...
2021-01-02 17:22:09 +01:00
John Gibbon
753f322053
implement message drafts
2020-12-31 01:18:14 +01:00
Sebastian Wolf
232049422a
Add 'mark chat as read/unread' feature, fixes #240
2020-12-31 00:19:36 +01:00
Slava Monich
0cb19d833c
Message API usage cleanup
...
1. Pass chat_id where appropriate
2. Pass message_id and chat_id (which are numbers) as numbers
3. Use pre-initialized QStrings more often
4. Don't pass numbers by const reference, it doesn't make sense
5. Removed some redundant const modifiers
2020-12-30 18:20:50 +02:00
Sebastian Wolf
78a71cfbab
Merge remote-tracking branch 'origin/master' into searching
2020-12-28 22:16:59 +01:00
Sebastian Wolf
e6fd5885aa
Force read all mentions in a chat when nothing is unread
2020-12-28 21:57:34 +01:00
Sebastian Wolf
2e970f2003
Search for public chats...
2020-12-27 23:30:25 +01:00
Sebastian Wolf
0f28db0115
Merge remote-tracking branch 'origin/master' into searching
2020-12-27 12:06:54 +01:00
Sebastian Wolf
19a17ed3f3
Now you can search in a chat...
2020-12-27 00:16:25 +01:00
John Gibbon
d0f33969eb
support basic bot messages (reply markup)
...
only inlineKeyboardButtonTypeCallback and inlineKeyboardButtonTypeUrl are implemented.
2020-12-27 00:01:59 +01:00
Sebastian Wolf
fe0b390a87
TDLib 1.7: Bring back pinned messages (nobody noticed so far?)
2020-12-25 22:38:13 +01:00