Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Skype invitation message

Tags:

c#

skype4com

I want to invite a user sending a specific message, but I can't find where I can set invitation message.

This is a (simplified) sample of what I do:

skype.Client.Start(true, true);
var user = skype.SearchForUsers("the_name_i_am_searching_for")
    .Cast<User>()
    .FirstOrDefault();
if (user != null)
    user.BuddyStatus = TBuddyStatus.budPendingAuthorization;

With this code default invitation is sent.

like image 208
Marco Avatar asked Feb 09 '14 01:02

Marco


People also ask

How do you invite someone to a Skype interview?

Hi [Candidate_Name] / Dear [Candidate_Name], Thank you for applying to [Company_name]. My name is [Your_Name] and I'm a [recruiter/the hiring manager] at [Company_name.] I would like to schedule a Skype call with you to discuss your application for the [Job_title] role.

Where do I find Skype invites?

Sign in to Skype Manager. Click Members from your Skype Manager Dashboard. In the Members menu on the left, click Joining/Leaving members. A list of all invites you have sent is displayed.

What is a Skype invitation?

They can join your chat or call with one click and even join as a guest without having to sign up or download Skype. Sending an invite is ideal if you want to reach someone who's not already in your Skype contacts, and perfect for getting groups of people together quickly. Send an invite now. Get support.

How do I accept a Skype interview invitation?

"Thank you for your invitation to interview with [company name]. Yes, I am available on day, date, month, at time am / pm." "Yes, I very much would like to interview with you at..." Yes, I can be available for an interview at several times during the week of..."


1 Answers

Try to use Property array instead of a simple assignment. Change

user.BuddyStatus = TBuddyStatus.budPendingAuthorization;

to

skype.Property["USER", "the_name_i_am_searching_for", "BUDDYSTATUS"] = 
    string.Format("{0} {1}", (int)TBuddyStatus.budPendingAuthorization, 
                             "your welcome message")

I failed to find any official docs, but this lib was very helpful. Notice SetBuddyStatusPendingAuthorization method

like image 57
Grin Avatar answered Sep 29 '22 09:09

Grin