C# Class kasthack.vksharp.RawApi.MethodGroup_Messages

Afficher le fichier Open project: kasthack/kasthack.vksharp

Méthodes publiques

Méthode Description
AddChatUser ( int userId, int chatId = null ) : Task
Delete ( ) : Task
DeleteChatPhoto ( int chatId ) : Task
DeleteDialog ( int userId ) : Task
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

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

GetHistoryChat ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Task
GetHistoryUser ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Task
GetLastActivity ( int userId ) : Task
MarkAsImportant ( bool important ) : Task
MarkAsRead ( int userId, int startMessageId = null ) : Task
RemoveChatUser ( int userId, int chatId ) : Task
Restore ( int messageId ) : Task
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
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
SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : Task

Private Methods

Méthode Description
MethodGroup_Messages ( RawApi parent ) : System

Method Details

AddChatUser() public méthode

public AddChatUser ( int userId, int chatId = null ) : Task
userId int
chatId int
Résultat Task

Delete() public méthode

public Delete ( ) : Task
Résultat Task

DeleteChatPhoto() public méthode

public DeleteChatPhoto ( int chatId ) : Task
chatId int
Résultat Task

DeleteDialog() public méthode

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

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

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

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

GetLastActivity() public méthode

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

MarkAsImportant() public méthode

public MarkAsImportant ( bool important ) : Task
important bool
Résultat Task

MarkAsRead() public méthode

public MarkAsRead ( int userId, int startMessageId = null ) : Task
userId int
startMessageId int
Résultat Task

RemoveChatUser() public méthode

public RemoveChatUser ( int userId, int chatId ) : Task
userId int
chatId int
Résultat Task

Restore() public méthode

public Restore ( int messageId ) : Task
messageId int
Résultat Task

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

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

SetActivity() public méthode

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