C# Class kasthack.vksharp.Api.MethodGroup_Messages

Afficher le fichier Open project: kasthack/kasthack.vksharp

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
MethodGroup_Messages ( Api parent ) : System

Method Details

AddChatUser() public méthode

public AddChatUser ( int userId, int chatId = null ) : System.Threading.Tasks.Task
userId int
chatId int
Résultat System.Threading.Tasks.Task

AddChatUserSync() public méthode

public AddChatUserSync ( int userId, int chatId = null ) : void
userId int
chatId int
Résultat void

Delete() public méthode

public Delete ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

DeleteChatPhoto() public méthode

public DeleteChatPhoto ( int chatId ) : System.Threading.Tasks.Task
chatId int
Résultat System.Threading.Tasks.Task

DeleteChatPhotoSync() public méthode

public DeleteChatPhotoSync ( int chatId ) : void
chatId int
Résultat void

DeleteDialog() public méthode

public DeleteDialog ( int userId ) : System.Threading.Tasks.Task
userId int
Résultat System.Threading.Tasks.Task

DeleteDialogSync() public méthode

public DeleteDialogSync ( int userId ) : void
userId int
Résultat void

DeleteSync() public méthode

public DeleteSync ( ) : void
Résultat void

Get() public méthode

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
Résultat Task>

GetDialogs() public méthode

Возвращает список диалогов текущего пользователя или сообщества.
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 Количество записей, которые необходимо вернуть
Résultat Task>

GetDialogsSync() public méthode

Возвращает список диалогов текущего пользователя или сообщества.
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 Количество записей, которые необходимо вернуть
Résultat EntityList

GetHistoryChat() public méthode

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
Résultat Task>

GetHistoryChatSync() public méthode

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
Résultat EntityList

GetHistoryUser() public méthode

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
Résultat Task>

GetHistoryUserSync() public méthode

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
Résultat EntityList

GetLastActivity() public méthode

public GetLastActivity ( int userId ) : Task
userId int
Résultat Task

GetLastActivitySync() public méthode

public GetLastActivitySync ( int userId ) : LastActivity
userId int
Résultat kasthack.vksharp.DataTypes.ResponseEntities.LastActivity

GetSync() public méthode

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
Résultat EntityList

MarkAsImportant() public méthode

public MarkAsImportant ( bool important ) : System.Threading.Tasks.Task
important bool
Résultat System.Threading.Tasks.Task

MarkAsImportantSync() public méthode

public MarkAsImportantSync ( bool important ) : void
important bool
Résultat void

MarkAsRead() public méthode

public MarkAsRead ( int userId, int startMessageId = null ) : System.Threading.Tasks.Task
userId int
startMessageId int
Résultat System.Threading.Tasks.Task

MarkAsReadSync() public méthode

public MarkAsReadSync ( int userId, int startMessageId = null ) : void
userId int
startMessageId int
Résultat void

RemoveChatUser() public méthode

public RemoveChatUser ( int userId, int chatId ) : System.Threading.Tasks.Task
userId int
chatId int
Résultat System.Threading.Tasks.Task

RemoveChatUserSync() public méthode

public RemoveChatUserSync ( int userId, int chatId ) : void
userId int
chatId int
Résultat void

Restore() public méthode

public Restore ( int messageId ) : System.Threading.Tasks.Task
messageId int
Résultat System.Threading.Tasks.Task

RestoreSync() public méthode

public RestoreSync ( int messageId ) : void
messageId int
Résultat void

Send() public méthode

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
Résultat Task

Send() public méthode

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
Résultat Task

SendChat() public méthode

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
Résultat Task

SendChatSync() public méthode

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
Résultat int

SendPeer() public méthode

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
Résultat Task

SendPeerSync() public méthode

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
Résultat int

SendSync() public méthode

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
Résultat int

SendSync() public méthode

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
Résultat int

SetActivity() public méthode

public SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : System.Threading.Tasks.Task
userId int
type ImActivity
Résultat System.Threading.Tasks.Task

SetActivitySync() public méthode

public SetActivitySync ( int userId, ImActivity type = ImActivity.Typing ) : void
userId int
type ImActivity
Résultat void