C# 클래스 BoxKite.Twitter.DirectMessageExtensions

파일 보기 프로젝트 열기: nickhodge/BoxKite.Twitter

공개 메소드들

메소드 설명
DeleteDirectMessage ( this session, long Id ) : Task

Deletes a sent direct message

ref: https://dev.twitter.com/docs/api/1.1/post/direct_messages/destroy

GetDirectMessageSingle ( this session, long Id ) : Task

Returns a direct message sent to the authenticating user.

ref: https://dev.twitter.com/docs/api/1.1/get/direct_messages/show

GetDirectMessages ( this session, long sinceId, long maxId, int count = 20 ) : Task>

Returns the most recent direct messages sent to the authenticating user.

ref: https://dev.twitter.com/docs/api/1.1/get/direct_messages

GetDirectMessagesSent ( this session, long sinceId, long maxId, int count = 20 ) : Task>

Returns the most recent direct messages sent by the authenticating user.

ref: https://dev.twitter.com/docs/api/1.1/get/direct_messages/sent

SendDirectMessage ( this session, string screenName, string text ) : Task

Sends a direct message sent to a user.

ref: https://dev.twitter.com/docs/api/1.1/post/direct_messages/new

메소드 상세

DeleteDirectMessage() 공개 정적인 메소드

Deletes a sent direct message
ref: https://dev.twitter.com/docs/api/1.1/post/direct_messages/destroy
public static DeleteDirectMessage ( this session, long Id ) : Task
session this
Id long ID of the direct message to delete
리턴 Task

GetDirectMessageSingle() 공개 정적인 메소드

Returns a direct message sent to the authenticating user.
ref: https://dev.twitter.com/docs/api/1.1/get/direct_messages/show
public static GetDirectMessageSingle ( this session, long Id ) : Task
session this
Id long ID of direct message to return
리턴 Task

GetDirectMessages() 공개 정적인 메소드

Returns the most recent direct messages sent to the authenticating user.
ref: https://dev.twitter.com/docs/api/1.1/get/direct_messages
public static GetDirectMessages ( this session, long sinceId, long maxId, int count = 20 ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID
count int Specifies the number of direct messages to try and retrieve, up to a maximum of 200
리턴 Task>

GetDirectMessagesSent() 공개 정적인 메소드

Returns the most recent direct messages sent by the authenticating user.
ref: https://dev.twitter.com/docs/api/1.1/get/direct_messages/sent
public static GetDirectMessagesSent ( this session, long sinceId, long maxId, int count = 20 ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID
count int Specifies the number of direct messages to try and retrieve, up to a maximum of 200
리턴 Task>

SendDirectMessage() 공개 정적인 메소드

Sends a direct message sent to a user.
ref: https://dev.twitter.com/docs/api/1.1/post/direct_messages/new
public static SendDirectMessage ( this session, string screenName, string text ) : Task
session this
screenName string Screen name of the recipient
text string Text to send to user
리턴 Task