| CommentsDelete Method |
Remove a comment either on the authenticated user's media or authored by the authenticated user.
Requires Authentication: True
Required Scope: comments
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<CommentResponse> Delete(
string mediaId,
string commentId
)
Public Function Delete (
mediaId As String,
commentId As String
) As Task(Of CommentResponse)
public:
Task<CommentResponse^>^ Delete(
String^ mediaId,
String^ commentId
)
member Delete :
mediaId : string *
commentId : string -> Task<CommentResponse>
Parameters
- mediaId
- Type: SystemString
The id of the media from which to delete the comment. - commentId
- Type: SystemString
The id of the comment to delete.
Return Value
Type:
TaskCommentResponseCommentResponse
See Also