C# 클래스 ImgurNet.ApiEndpoints.ConversationEndpoint

상속: BaseEndpoint
파일 보기 프로젝트 열기: 0xdeafcafe/ImgurNet 1 사용 예제들

공개 메소드들

메소드 설명
BlockConversationSenderAsync ( string username ) : Task>

Block the user from sending messages to the user that is logged in.

ConversationEndpoint ( Imgur imgurClient ) : System

CreateConversationAsync ( string recipientUsername, string messageBody ) : Task>

Create a new conversation

DeleteConversationAsync ( int id ) : Task>

Delete a conversation

GetConversationAsync ( int id ) : Task>

Get list of all conversations for the authenticated in user

GetConversationListAsync ( ) : Task>

Get list of all conversations for the authenticated in user

ReportConversationSenderAsync ( string username ) : Task>

Report a user for sending messages that are against the Terms of Service.

메소드 상세

BlockConversationSenderAsync() 공개 메소드

Block the user from sending messages to the user that is logged in.
public BlockConversationSenderAsync ( string username ) : Task>
username string The username of the person to block
리턴 Task>

ConversationEndpoint() 공개 메소드

public ConversationEndpoint ( Imgur imgurClient ) : System
imgurClient Imgur
리턴 System

CreateConversationAsync() 공개 메소드

Create a new conversation
public CreateConversationAsync ( string recipientUsername, string messageBody ) : Task>
recipientUsername string The username of the recipient
messageBody string The body of the message
리턴 Task>

DeleteConversationAsync() 공개 메소드

Delete a conversation
public DeleteConversationAsync ( int id ) : Task>
id int The Id of the conversation
리턴 Task>

GetConversationAsync() 공개 메소드

Get list of all conversations for the authenticated in user
public GetConversationAsync ( int id ) : Task>
id int The Id of the conversation
리턴 Task>

GetConversationListAsync() 공개 메소드

Get list of all conversations for the authenticated in user
public GetConversationListAsync ( ) : Task>
리턴 Task>

ReportConversationSenderAsync() 공개 메소드

Report a user for sending messages that are against the Terms of Service.
public ReportConversationSenderAsync ( string username ) : Task>
username string The username of the sender
리턴 Task>