MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / topicRootId

Method topicRootId

Telegram/SourceFiles/data/data_thread.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31MsgId Thread::topicRootId() const {
32 if (const auto topic = asTopic()) {
33 return topic->rootId();
34 }
35 return MsgId();
36}
37
38PeerId Thread::monoforumPeerId() const {
39 if (const auto sublist = asSublist()) {

Callers 15

saveDraftsToCloudMethod · 0.45
sendMessageMethod · 0.45
setForwardDraftMethod · 0.45
shareUrlMethod · 0.45
showNextMethod · 0.45
doShowNotificationMethod · 0.45
switchInlineQueryMethod · 0.45
ShareBotGameFunction · 0.45
UnpinAllMessagesFunction · 0.45

Calls 2

rootIdMethod · 0.80
MsgIdClass · 0.70

Tested by

no test coverage detected