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:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user