title: Is there any way to identify that my bot is added to conversation/contact list?
body: <p>I am trying to give intro for my BOT . when the user is added to their conversation/contact list. I have tried by handling ActivityTypes.ConversationUpdate message type. but it is not working in skype. is there any common way for this that should work in all channels.</p>
  
  <p>this is the code i used:</p>
  
  <pre><code> public async Task&lt;HttpResponseMessage&gt; Post([FromBody]Activity activity)
      {
          ConnectorClient connector = new ConnectorClient(new Uri(activity.ServiceUrl));
          if (activity.Type == ActivityTypes.Message)
          {
  
              // calculate something for us to return
              int length = (activity.Text ?? string.Empty).Length;
  
              // return our reply to the user
              Activity reply = activity.CreateReply($"You sent {activity.Text} which was {length} characters");
              await connector.Conversations.ReplyToActivityAsync(reply);
          }
          else if(activity.Type == ActivityTypes.ConversationUpdate)
          {
              StateClient stateClient = activity.GetStateClient();
              BotData userData = await stateClient.BotState.GetUserDataAsync(activity.ChannelId, activity.From.Id);
  
              if (!userData.GetProperty&lt;bool&gt;("SentGreeting"))
              {
                  Activity reply = activity.CreateReply($"Hi " + activity.From.Name + ", I'm the Microsoft Bot");
                  userData.SetProperty&lt;bool&gt;("SentGreeting", true);
                  await stateClient.BotState.SetUserDataAsync(activity.ChannelId, activity.From.Id, userData);
                  await connector.Conversations.ReplyToActivityAsync(reply);
              }
          }
          var response = Request.CreateResponse(HttpStatusCode.OK);
          return response;
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Lvj4p.png" rel="nofollow noreferrer">works here</a>
  thanks in advance.</p>