Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TDesktop-x64/tdesktop
/ channel
Method
channel
Telegram/SourceFiles/data/data_session.cpp:513–515 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
511
}
512
513
not_null<ChannelData*> Session::channel(ChannelId id) {
514
return peer(peerFromChannel(id))->asChannel();
515
}
516
517
PeerData *Session::peerLoaded(PeerId id) const {
518
const auto i = _peers.find(id);
Callers
3
processChat
Method · 0.95
applyMonoforumLinkedId
Method · 0.95
saveViewAsMessages
Method · 0.45
Calls
2
peerFromChannel
Function · 0.85
asChannel
Method · 0.80
Tested by
no test coverage detected