Skype4COMLIB skype.message.chat.sendmessage

1.5k views Asked by At

I have a problem with my c# code I am trying to change the group chat topic but it does not work

private void button10_Click(object sender, EventArgs e)
    {
        Skype skype = new Skype();
        skype.Message.Chat.SendMessage("/topic " + textBox9.Text);
    }

and when I press the button it says unknown message

1

There are 1 answers

4
user5029884 On BEST ANSWER

You have to attach skype with skype.attach(); You should make 1 global skype object and on your form load you should attach skype.