Amio.io
Amio.io

Reputation: 21585

Correct id to send message to a skype account

I am trying to test my bot by sending a message to my skype account. I can't find a way how to contact myself what is the members.id id suppossed to be? I tried Skype Name but can't find any other id suitable and the docs are not very helpful.

I started a conversation:

{
  "bot": {
    "id": "2",
    "name": "bot's name"
  },
  "isGroup": false,
  "members": [
    {
      "id": "123",           <----------------- WHAT SHALL BE HERE?
      "name": "My Account"
    }
  ],
  "topicName": "News Alert"
}

The id for the conversation is { "id": "123" }.

I could find the bot from the Skype app but I never receive anything.

Upvotes: 3

Views: 167

Answers (1)

Just Shadow
Just Shadow

Reputation: 11901

You can get the ID of user by checking the Activity.From.Id property when s/he sends a message.
Also please note that in case of Skype and Facebook user IDs are altered for each user.
So each user has different ID for each Bot, and that ID is not the Skype (or Facebook) ID, as mentioned in documentation

Upvotes: 1

Related Questions