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

Function RichMessageKey

Telegram/SourceFiles/iv/iv_instance.cpp:158–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158[[nodiscard]] QString RichMessageKey(FullMsgId itemId) {
159 return u"rich-message:%1:%2"_q
160 .arg(itemId.peer.value)
161 .arg(itemId.msg.bare);
162}
163
164[[nodiscard]] uint64 RichMessagePageId(FullMsgId itemId) {
165 return uint64(itemId.peer.value) ^ (uint64(itemId.msg.bare) << 1);

Callers 1

showRichMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected