Пример #1
0
 /// <summary>
 /// Sends the push message.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns>PushResponseCode.</returns>
 public PushResponse SendPushMessage(PushMessageRequest request)
 {
     if (request != null)
     {
         return(SendPushMessage(request.ToPushMessageRequestV3()));
     }
     return(null);
 }
Пример #2
0
 /// <summary>
 /// Sends the push message.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns>PushResponseCode.</returns>
 /// <exception cref="System.InvalidOperationException">Failed to send push message.</exception>
 public PushResponse SendPushMessage(PushMessageRequest request)
 {
     return(clientV3.SendPushMessage(request.ToPushMessageRequestV3()));
 }