Closed xspeed1989 closed 1 year ago
auto getChatHistory = td_api::make_object( chat_id, 0, -3, -3, false); send_query(std::move(getChatHistory), callback);
it return zero count message
What post do you want to get? All new posts in channels are received through the update updateNewMessage, there is no need to manually fetch them.
updateNewMessage
auto getChatHistory = td_api::make_object(
chat_id, 0, -3, -3, false);
send_query(std::move(getChatHistory), callback);
it return zero count message