C# 클래스 kasthack.vksharp.Api.MethodGroup_Messages

파일 보기 프로젝트 열기: kasthack/kasthack.vksharp

공개 메소드들

메소드 설명
AddChatUser ( int userId, int chatId = null ) : System.Threading.Tasks.Task
AddChatUserSync ( int userId, int chatId = null ) : void
Delete ( ) : System.Threading.Tasks.Task
DeleteChatPhoto ( int chatId ) : System.Threading.Tasks.Task
DeleteChatPhotoSync ( int chatId ) : void
DeleteDialog ( int userId ) : System.Threading.Tasks.Task
DeleteDialogSync ( int userId ) : void
DeleteSync ( ) : void
Get ( int @out, int timeOffset, int filters, int previewLength, long lastMessageId = null, int offset = null, int count = 200 ) : Task>
GetDialogs ( long startMessageId = null, int previewLength = null, bool unread = null, int offset = null, int count = 20 ) : Task>

Возвращает список диалогов текущего пользователя или сообщества.

GetDialogsSync ( long startMessageId = null, int previewLength = null, bool unread = null, int offset = null, int count = 20 ) : EntityList

Возвращает список диалогов текущего пользователя или сообщества.

GetHistoryChat ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Task>
GetHistoryChatSync ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : EntityList
GetHistoryUser ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Task>
GetHistoryUserSync ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : EntityList
GetLastActivity ( int userId ) : Task
GetLastActivitySync ( int userId ) : LastActivity
GetSync ( int @out, int timeOffset, int filters, int previewLength, long lastMessageId = null, int offset = null, int count = 200 ) : EntityList
MarkAsImportant ( bool important ) : System.Threading.Tasks.Task
MarkAsImportantSync ( bool important ) : void
MarkAsRead ( int userId, int startMessageId = null ) : System.Threading.Tasks.Task
MarkAsReadSync ( int userId, int startMessageId = null ) : void
RemoveChatUser ( int userId, int chatId ) : System.Threading.Tasks.Task
RemoveChatUserSync ( int userId, int chatId ) : void
Restore ( int messageId ) : System.Threading.Tasks.Task
RestoreSync ( int messageId ) : void
Send ( int userId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
Send ( string domain, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
SendChat ( int chatId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
SendChatSync ( int chatId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
SendPeer ( long peerId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
SendPeerSync ( long peerId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
SendSync ( int userId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
SendSync ( string domain, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : System.Threading.Tasks.Task
SetActivitySync ( int userId, ImActivity type = ImActivity.Typing ) : void

비공개 메소드들

메소드 설명
MethodGroup_Messages ( Api parent ) : System

메소드 상세

AddChatUser() 공개 메소드

public AddChatUser ( int userId, int chatId = null ) : System.Threading.Tasks.Task
userId int
chatId int
리턴 System.Threading.Tasks.Task

AddChatUserSync() 공개 메소드

public AddChatUserSync ( int userId, int chatId = null ) : void
userId int
chatId int
리턴 void

Delete() 공개 메소드

public Delete ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

DeleteChatPhoto() 공개 메소드

public DeleteChatPhoto ( int chatId ) : System.Threading.Tasks.Task
chatId int
리턴 System.Threading.Tasks.Task

DeleteChatPhotoSync() 공개 메소드

public DeleteChatPhotoSync ( int chatId ) : void
chatId int
리턴 void

DeleteDialog() 공개 메소드

public DeleteDialog ( int userId ) : System.Threading.Tasks.Task
userId int
리턴 System.Threading.Tasks.Task

DeleteDialogSync() 공개 메소드

public DeleteDialogSync ( int userId ) : void
userId int
리턴 void

DeleteSync() 공개 메소드

public DeleteSync ( ) : void
리턴 void

Get() 공개 메소드

public Get ( int @out, int timeOffset, int filters, int previewLength, long lastMessageId = null, int offset = null, int count = 200 ) : Task>
@out int
timeOffset int
filters int
previewLength int
lastMessageId long
offset int
count int
리턴 Task>

GetDialogs() 공개 메소드

Возвращает список диалогов текущего пользователя или сообщества.
public GetDialogs ( long startMessageId = null, int previewLength = null, bool unread = null, int offset = null, int count = 20 ) : Task>
startMessageId long Идентификатор сообщения, начиная с которого нужно вернуть список диалогов
previewLength int Количество символов, по которому нужно обрезать сообщение. (по умолчанию сообщения не обрезаются)
unread bool Вернуть только диалоги, в которых есть непрочитанные входящие сообщения
offset int Оффсет для возврата результатов
count int Количество записей, которые необходимо вернуть
리턴 Task>

GetDialogsSync() 공개 메소드

Возвращает список диалогов текущего пользователя или сообщества.
public GetDialogsSync ( long startMessageId = null, int previewLength = null, bool unread = null, int offset = null, int count = 20 ) : EntityList
startMessageId long Идентификатор сообщения, начиная с которого нужно вернуть список диалогов
previewLength int Количество символов, по которому нужно обрезать сообщение. (по умолчанию сообщения не обрезаются)
unread bool Вернуть только диалоги, в которых есть непрочитанные входящие сообщения
offset int Оффсет для возврата результатов
count int Количество записей, которые необходимо вернуть
리턴 EntityList

GetHistoryChat() 공개 메소드

public GetHistoryChat ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Task>
chatId int
rev bool
startMessageId long
offset int
count int
리턴 Task>

GetHistoryChatSync() 공개 메소드

public GetHistoryChatSync ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : EntityList
chatId int
rev bool
startMessageId long
offset int
count int
리턴 EntityList

GetHistoryUser() 공개 메소드

public GetHistoryUser ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Task>
userId int
rev bool
startMessageId long
offset int
count int
리턴 Task>

GetHistoryUserSync() 공개 메소드

public GetHistoryUserSync ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : EntityList
userId int
rev bool
startMessageId long
offset int
count int
리턴 EntityList

GetLastActivity() 공개 메소드

public GetLastActivity ( int userId ) : Task
userId int
리턴 Task

GetLastActivitySync() 공개 메소드

public GetLastActivitySync ( int userId ) : LastActivity
userId int
리턴 kasthack.vksharp.DataTypes.ResponseEntities.LastActivity

GetSync() 공개 메소드

public GetSync ( int @out, int timeOffset, int filters, int previewLength, long lastMessageId = null, int offset = null, int count = 200 ) : EntityList
@out int
timeOffset int
filters int
previewLength int
lastMessageId long
offset int
count int
리턴 EntityList

MarkAsImportant() 공개 메소드

public MarkAsImportant ( bool important ) : System.Threading.Tasks.Task
important bool
리턴 System.Threading.Tasks.Task

MarkAsImportantSync() 공개 메소드

public MarkAsImportantSync ( bool important ) : void
important bool
리턴 void

MarkAsRead() 공개 메소드

public MarkAsRead ( int userId, int startMessageId = null ) : System.Threading.Tasks.Task
userId int
startMessageId int
리턴 System.Threading.Tasks.Task

MarkAsReadSync() 공개 메소드

public MarkAsReadSync ( int userId, int startMessageId = null ) : void
userId int
startMessageId int
리턴 void

RemoveChatUser() 공개 메소드

public RemoveChatUser ( int userId, int chatId ) : System.Threading.Tasks.Task
userId int
chatId int
리턴 System.Threading.Tasks.Task

RemoveChatUserSync() 공개 메소드

public RemoveChatUserSync ( int userId, int chatId ) : void
userId int
chatId int
리턴 void

Restore() 공개 메소드

public Restore ( int messageId ) : System.Threading.Tasks.Task
messageId int
리턴 System.Threading.Tasks.Task

RestoreSync() 공개 메소드

public RestoreSync ( int messageId ) : void
messageId int
리턴 void

Send() 공개 메소드

public Send ( int userId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
userId int
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 Task

Send() 공개 메소드

public Send ( string domain, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
domain string
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 Task

SendChat() 공개 메소드

public SendChat ( int chatId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
chatId int
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 Task

SendChatSync() 공개 메소드

public SendChatSync ( int chatId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
chatId int
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 int

SendPeer() 공개 메소드

public SendPeer ( long peerId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : Task
peerId long
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 Task

SendPeerSync() 공개 메소드

public SendPeerSync ( long peerId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
peerId long
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 int

SendSync() 공개 메소드

public SendSync ( int userId, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
userId int
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 int

SendSync() 공개 메소드

public SendSync ( string domain, string message = null, int guid = null, double lat = null, double @long = null, ContentId attachment = null, long forwardMessages = null, int stickerId = null, long randomId = null ) : int
domain string
message string
guid int
lat double
@long double
attachment ContentId
forwardMessages long
stickerId int
randomId long
리턴 int

SetActivity() 공개 메소드

public SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : System.Threading.Tasks.Task
userId int
type ImActivity
리턴 System.Threading.Tasks.Task

SetActivitySync() 공개 메소드

public SetActivitySync ( int userId, ImActivity type = ImActivity.Typing ) : void
userId int
type ImActivity
리턴 void