C# Class StarryEyes.Anomaly.TwitterApi.Rest.DirectMessages

显示文件 Open project: karno/StarryEyes

Public Methods

Method Description
DestroyDirectMessageAsync ( this credential, long id ) : Task
GetDirectMessagesAsync ( this credential, int count = null, long sinceId = null, long maxId = null ) : Task>
GetSentDirectMessagesAsync ( this credential, int count = null, long sinceId = null, long maxId = null, int page = null ) : Task>
SendDirectMessageAsync ( this credential, long recipientUserId, string text ) : Task
SendDirectMessageAsync ( this credential, string recipientUserScreenName, string text ) : Task
ShowDirectMessageAsync ( this credential, long id ) : Task

Private Methods

Method Description
SendDirectMessageCoreAsync ( IOAuthCredential credential, long recipientUserId, string recipientScreenName, string text ) : Task

Method Details

DestroyDirectMessageAsync() public static method

public static DestroyDirectMessageAsync ( this credential, long id ) : Task
credential this
id long
return Task

GetDirectMessagesAsync() public static method

public static GetDirectMessagesAsync ( this credential, int count = null, long sinceId = null, long maxId = null ) : Task>
credential this
count int
sinceId long
maxId long
return Task>

GetSentDirectMessagesAsync() public static method

public static GetSentDirectMessagesAsync ( this credential, int count = null, long sinceId = null, long maxId = null, int page = null ) : Task>
credential this
count int
sinceId long
maxId long
page int
return Task>

SendDirectMessageAsync() public static method

public static SendDirectMessageAsync ( this credential, long recipientUserId, string text ) : Task
credential this
recipientUserId long
text string
return Task

SendDirectMessageAsync() public static method

public static SendDirectMessageAsync ( this credential, string recipientUserScreenName, string text ) : Task
credential this
recipientUserScreenName string
text string
return Task

ShowDirectMessageAsync() public static method

public static ShowDirectMessageAsync ( this credential, long id ) : Task
credential this
id long
return Task