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