2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme to layer 167.

Support quote offset passing to API.
Support simple phrases in giveaway results message.
This commit is contained in:
John Preston
2023-11-10 13:27:47 +04:00
parent f442d69cb6
commit dcc326e17f
44 changed files with 389 additions and 303 deletions

View File

@@ -806,7 +806,8 @@ void SessionNavigation::showRepliesForMessage(
history,
rootId,
commentId,
params.highlightPart);
params.highlightPart,
params.highlightPartOffsetHint);
memento->setFromTopic(topic);
showSection(std::move(memento), params);
return;

View File

@@ -168,6 +168,7 @@ struct SectionShow {
}
TextWithEntities highlightPart;
int highlightPartOffsetHint = 0;
Way way = Way::Forward;
anim::type animated = anim::type::normal;
anim::activation activation = anim::activation::normal;