c# - TLSharp function GetHistoryAsync returns only 100 last messages -
i have 2714 new messages in telegram chat. call gethistoryasync "limit" parameter equals 10000, function returns 100 last messages. know whether tlsharp error or telegram protocol restriction?
you can't more 100 pieces of messages/views/... in 1 request, can play max_id , offset, specific 100 messages.
public async task<tlabsmessages> gethistoryasync(tlabsinputpeer peer, int offset, int max_id, int limit)
Comments
Post a Comment