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

Method userIsBotChanged

Telegram/SourceFiles/data/data_session.cpp:1585–1590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583}
1584
1585void Session::userIsBotChanged(not_null<UserData*> user) {
1586 if (const auto history = this->history(user)) {
1587 chatsFilters().refreshHistory(history);
1588 }
1589 _userIsBotChanges.fire_copy(user);
1590}
1591
1592rpl::producer<not_null<UserData*>> Session::userIsBotChanges() const {
1593 return _userIsBotChanges.events();

Callers 1

setBotInfoVersionMethod · 0.80

Calls 2

historyMethod · 0.95
refreshHistoryMethod · 0.80

Tested by

no test coverage detected