server/frontend/frontend_server_handler.cc
TLObjectPtr FrontendServerHandler::On_TL_destroy_session(TLObjectPtr msg) {
  LOG(INFO) << "On_TL_destroy_session - " << msg->ToString();
  // r = On_TL_destroy_session(ctx, msg);
  auto destroy_session = std::static_pointer_cast<TL_destroy_session>(msg);
  auto destroy_session_ok = std::make_shared<TL_destroy_session_ok>();
  destroy_session_ok->set_session_id(destroy_session->session_id());
  return destroy_session_ok;
}
// Used by the client to notify the server
// that it may forget the data from a different session belonging to the same user (i. e. with the same auth_key_id).
// The result of this being applied to the current session is undefined.
Used by the client to notify the server
that it may forget the data from a different session belonging to the same user (i. e. with the same auth_key_id).
The result of this being applied to the current session is undefined.
Used by the client to notify the server that it may forget the data from a different session belonging to the same user ( i . e . with the same auth_key_id ) . The result of this being applied to the current session is undefined .
TLObjectPtr FrontendServerHandler::On_TL_destroy_session(TLObjectPtr msg) {
  LOG(INFO) << "On_TL_destroy_session - " << msg->ToString();
  auto destroy_session = std::static_pointer_cast<TL_destroy_session>(msg);
  auto destroy_session_ok = std::make_shared<TL_destroy_session_ok>();
  destroy_session_ok->set_session_id(destroy_session->session_id());
  return destroy_session_ok;
}
TLObjectPtr FrontendServerHandler :: On_TL_destroy_session ( TLObjectPtr msg ) { LOG ( INFO ) << " " << msg -> ToString ( ) ; auto destroy_session = std :: static_pointer_cast < TL_destroy_session > ( msg ) ; auto destroy_session_ok = std :: make_shared < TL_destroy_session_ok > ( ) ; destroy_session_ok -> set_session_id ( destroy_session -> session_id ( ) ) ; return destroy_session_ok ; }
Used by the client to notify the server
that it may forget the data from a different session belonging to the same user (i. e. with the same auth_key_id).
Used by the client to notify the server that it may forget the data from a different session belonging to the same user ( i . e . with the same auth_key_id ) .
// r = On_TL_destroy_session(ctx, msg);