Пример #1
0
 /// <inheritdoc />
 public bool EditComment(NotesEditCommentParams editCommentParams)
 {
     return(_vk.Call(methodName: "notes.editComment",
                     parameters: new VkParameters
     {
         { "comment_id", editCommentParams.CommentId },
         { "owner_id", editCommentParams.OwnerId },
         { "message", editCommentParams.Message }
     }));
 }
Пример #2
0
 /// <inheritdoc />
 public Task <bool> EditCommentAsync(NotesEditCommentParams editCommentParams)
 {
     return(TypeHelper.TryInvokeMethodAsync(func: () => EditComment(editCommentParams: editCommentParams)));
 }