c# - tweetinvi, I can't retrieve messages -
i want monitor retrieve messages bot can respond them. i can send pm using tweetinvi reason, can't retrieve of messages in account. getlastmessage returns null. i have tried following: in test, have timer runs every 1s , pols messages. private static void ontwittertimedevent(object source, system.timers.elapsedeventargs e) { try { ienumerable<imessage> msg = controller.getlatestmessagesreceived(); ; // message.getlatestmessagesreceived(100); if (msg != null) { console.writeline(msg.elementat(0).senderscreenname + msg.elementat(0).text); if ((msg.elementat(0).senderid == ####myid#####) & (msg.elementat(0).text == "?")) { message.publishmessage(tweet, ####myid#####); console.foregroundcolor = consolecolor.darkgreen; console.writeline(msg.elementat(0).senderscreenname + msg.elementat(0).text); console.resetcolor(); ...