Deepthought icon indicating copy to clipboard operation
Deepthought copied to clipboard

How get all InputPeer?

Open edbrik opened this issue 8 years ago • 3 comments

How get all InputPeers and incomming messages for lines without know?

edbrik avatar Nov 28 '16 20:11 edbrik

No way to get all off them at once. You should retrieve them from the udpates received, or call one of the getHistory/getDialogs/search method to get them

rubenlagus avatar Nov 29 '16 08:11 rubenlagus

any example for these??

edbrik avatar Nov 29 '16 21:11 edbrik

Just use TLRequestMessagesGetHistory (for example) and execute it using methods doRpcCall*

rubenlagus avatar Jan 01 '17 17:01 rubenlagus