Exemple #1
0
 public async Task <MessengerProfileAPIResponse> SetAsync(JObject json)
 {
     return(await RequestHandler.PostAsync <MessengerProfileAPIResponse>(
                json, $"{MessengerProfileEndpoint}{_Credentials.PageToken}"));
 }
Exemple #2
0
 private async Task <SendApiResponse> SendAsync(JObject json, string endPoint = null)
 {
     endPoint = endPoint ?? _SendMessageEndpoint;
     return(await RequestHandler.PostAsync <SendApiResponse>(json, $"{endPoint}"));
 }