Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Skype4Com and i want to get missed messages and missed calls.
Here is the code:
C#
using SKYPE4COMLib;

Skype _skype = new Skype();

int count = Handlers.Skype.MissedMessages.Count;


after launching and grant permission in skype, count = 68, when i have 0 missed messages

What i need to do?
Posted
Comments
Sergey Alexandrovich Kryukov 15-Nov-14 19:54pm    
Miss some messages, if you want to have some missed. :-)
—SA

1 solution

Why don't you start by enumerating the ChatMessageCollection 'MissedMessages and observe what you are finding:
C#
using SKYPE4COMLib;

private Skype skype = new Skype();

private var missedmsgs = skype.MissedMessages;

// in some method or EventHandler

foreach (ChatMessage mmsg in missedmsgs)
{
    Console.Write(mmsg.Sender.DisplayName + " " + mmsg.Body + Environment.NewLine);
}
Note: it's been a while since I used SKYPE4COMLib: wasn't Skype going to disable some facilities in it in 2013 ?
 
Share this answer
 
Comments
Arlert 15-Nov-14 13:22pm    
i tryied this. only my messages are shown.
maybe since 2013 there is no way to do this?
BillWoodruff 15-Nov-14 13:31pm    
If you get a message saying you have #68 missed messages: when you run the code I showed above: what do you see output in the 'Output window ?

"only my messages are shown." Why would you expect to see anything other than your missed messages ?

Have you examined the ChatMessages in skype.Chats ? Anything unexpected there ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900