Method | 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 ) : |
||
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 |
Method | Description | |
---|---|---|
MethodGroup_Messages ( |
public AddChatUser ( int userId, int chatId = null ) : System.Threading.Tasks.Task | ||
userId | int | |
chatId | int | |
return | System.Threading.Tasks.Task |
public AddChatUserSync ( int userId, int chatId = null ) : void | ||
userId | int | |
chatId | int | |
return | void |
public Delete ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public DeleteChatPhoto ( int chatId ) : System.Threading.Tasks.Task | ||
chatId | int | |
return | System.Threading.Tasks.Task |
public DeleteChatPhotoSync ( int chatId ) : void | ||
chatId | int | |
return | void |
public DeleteDialog ( int userId ) : System.Threading.Tasks.Task | ||
userId | int | |
return | System.Threading.Tasks.Task |
public DeleteDialogSync ( int userId ) : void | ||
userId | int | |
return | void |
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 | |
return | Task |
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 | Количество записей, которые необходимо вернуть |
return | Task |
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 | Количество записей, которые необходимо вернуть |
return | EntityList |
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 | |
return | Task |
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 | |
return | EntityList |
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 | |
return | Task |
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 | |
return | EntityList |
public GetLastActivitySync ( int userId ) : |
||
userId | int | |
return |
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 | |
return | EntityList |
public MarkAsImportant ( bool important ) : System.Threading.Tasks.Task | ||
important | bool | |
return | System.Threading.Tasks.Task |
public MarkAsImportantSync ( bool important ) : void | ||
important | bool | |
return | void |
public MarkAsRead ( int userId, int startMessageId = null ) : System.Threading.Tasks.Task | ||
userId | int | |
startMessageId | int | |
return | System.Threading.Tasks.Task |
public MarkAsReadSync ( int userId, int startMessageId = null ) : void | ||
userId | int | |
startMessageId | int | |
return | void |
public RemoveChatUser ( int userId, int chatId ) : System.Threading.Tasks.Task | ||
userId | int | |
chatId | int | |
return | System.Threading.Tasks.Task |
public RemoveChatUserSync ( int userId, int chatId ) : void | ||
userId | int | |
chatId | int | |
return | void |
public Restore ( int messageId ) : System.Threading.Tasks.Task | ||
messageId | int | |
return | System.Threading.Tasks.Task |
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 | |
return | Task |
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 | |
return | Task |
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 | |
return | Task |
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 | |
return | int |
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 | |
return | Task |
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 | |
return | int |
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 | |
return | int |
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 | |
return | int |
public SetActivity ( int userId, ImActivity type = ImActivity.Typing ) : System.Threading.Tasks.Task | ||
userId | int | |
type | ImActivity | |
return | System.Threading.Tasks.Task |
public SetActivitySync ( int userId, ImActivity type = ImActivity.Typing ) : void | ||
userId | int | |
type | ImActivity | |
return | void |