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

Method giftsPeer

Telegram/SourceFiles/info/info_controller.cpp:149–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149PeerData *Key::giftsPeer() const {
150 if (const auto tag = std::get_if<PeerGifts::Tag>(&_value)) {
151 return tag->peer;
152 }
153 return nullptr;
154}
155
156int Key::giftsCollectionId() const {
157 if (const auto tag = std::get_if<PeerGifts::Tag>(&_value)) {

Callers 4

activeChatMethod · 0.45
setupTopBarMenuToggleMethod · 0.45
MementoMethod · 0.45
WidgetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected