Click here to Skip to main content
13,596,545 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
I am using Skype4Com and i want to get missed messages and missed calls.
Here is the code:
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 15-Nov-14 6:11am
Comments
Sergey Alexandrovich Kryukov 15-Nov-14 19:54pm
   
Miss some messages, if you want to have some missed. :-)
—SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Why don't you start by enumerating the ChatMessageCollection 'MissedMessages and observe what you are finding:
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 ?
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.180621.3 | Last Updated 15 Nov 2014
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100