Метод | Описание | |
---|---|---|
AddChatUser ( int userId, int chatId = null ) : Request |
||
Delete ( ) : Request |
||
DeleteChatPhoto ( int chatId ) : Request |
||
DeleteDialog ( int userId ) : Request |
||
Get ( int @out, int timeOffset, int filters, int previewLength, long lastMessageId = null, int offset = null, int count = 200 ) : Request |
||
GetDialogs ( long startMessageId = null, int previewLength = null, bool unread = null, int offset = null, int count = 20 ) : Request |
Возвращает список диалогов текущего пользователя или сообщества.
|
|
GetHistoryChat ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Request |
||
GetHistoryUser ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Request |
||
GetLastActivity ( int userId ) : Request |
||
MarkAsImportant ( bool important ) : Request |
||
MarkAsRead ( int userId, int startMessageId = null ) : Request |
||
RemoveChatUser ( int userId, int chatId ) : Request |
||
Restore ( int messageId ) : Request |
||
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 ) : Request |
||
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 ) : Request |
||
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 ) : Request |
||
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 ) : Request |
||
SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : Request |
Метод | Описание | |
---|---|---|
MethodGroup_messages ( |
public AddChatUser ( int userId, int chatId = null ) : Request |
||
userId | int | |
chatId | int | |
Результат | Request |
public DeleteChatPhoto ( int chatId ) : Request |
||
chatId | int | |
Результат | Request |
public DeleteDialog ( int userId ) : Request |
||
userId | int | |
Результат | Request |
public Get ( int @out, int timeOffset, int filters, int previewLength, long lastMessageId = null, int offset = null, int count = 200 ) : Request |
||
@out | int | |
timeOffset | int | |
filters | int | |
previewLength | int | |
lastMessageId | long | |
offset | int | |
count | int | |
Результат | Request |
public GetDialogs ( long startMessageId = null, int previewLength = null, bool unread = null, int offset = null, int count = 20 ) : Request |
||
startMessageId | long | Идентификатор сообщения, начиная с которого нужно вернуть список диалогов |
previewLength | int | Количество символов, по которому нужно обрезать сообщение. (по умолчанию сообщения не обрезаются) |
unread | bool | Вернуть только диалоги, в которых есть непрочитанные входящие сообщения |
offset | int | Оффсет для возврата результатов |
count | int | Количество записей, которые необходимо вернуть |
Результат | Request |
public GetHistoryChat ( int chatId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Request |
||
chatId | int | |
rev | bool | |
startMessageId | long | |
offset | int | |
count | int | |
Результат | Request |
public GetHistoryUser ( int userId, bool rev = false, long startMessageId = null, int offset = null, int count = 200 ) : Request |
||
userId | int | |
rev | bool | |
startMessageId | long | |
offset | int | |
count | int | |
Результат | Request |
public GetLastActivity ( int userId ) : Request |
||
userId | int | |
Результат | Request |
public MarkAsImportant ( bool important ) : Request |
||
important | bool | |
Результат | Request |
public MarkAsRead ( int userId, int startMessageId = null ) : Request |
||
userId | int | |
startMessageId | int | |
Результат | Request |
public RemoveChatUser ( int userId, int chatId ) : Request |
||
userId | int | |
chatId | int | |
Результат | Request |
public Restore ( int messageId ) : Request |
||
messageId | int | |
Результат | Request |
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 ) : Request |
||
userId | int | |
message | string | |
guid | int | |
lat | double | |
@long | double | |
attachment | ContentId | |
forwardMessages | long | |
stickerId | int | |
randomId | long | |
Результат | Request |
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 ) : Request |
||
domain | string | |
message | string | |
guid | int | |
lat | double | |
@long | double | |
attachment | ContentId | |
forwardMessages | long | |
stickerId | int | |
randomId | long | |
Результат | Request |
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 ) : Request |
||
chatId | int | |
message | string | |
guid | int | |
lat | double | |
@long | double | |
attachment | ContentId | |
forwardMessages | long | |
stickerId | int | |
randomId | long | |
Результат | Request |
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 ) : Request |
||
peerId | long | |
message | string | |
guid | int | |
lat | double | |
@long | double | |
attachment | ContentId | |
forwardMessages | long | |
stickerId | int | |
randomId | long | |
Результат | Request |
public SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : Request |
||
userId | int | |
type | ImActivity | |
Результат | Request |