C# Класс BuildIt.Bot.Client.DirectLinkApi.Extensions.ConversationsExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetMessages ( this operations, string conversationId, string watermark = null ) : MessageSet
GetMessagesAsync ( this operations, string conversationId, string watermark = null, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
NewConversation ( this operations ) : Conversation
NewConversationAsync ( this operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
PostMessage ( this operations, string conversationId, Message message ) : object
PostMessageAsync ( this operations, string conversationId, Message message, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
Upload ( this operations, string conversationId ) : object
UploadAsync ( this operations, string conversationId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task

Описание методов

GetMessages() публичный статический Метод

public static GetMessages ( this operations, string conversationId, string watermark = null ) : MessageSet
operations this /// Reference to the DirectLinkApi.IConversations. ///
conversationId string /// Required. Conversation ID ///
watermark string /// Optional. (Optional) only returns messages newer than this watermark ///
Результат BuildIt.Bot.Client.DirectLinkApi.Models.MessageSet

GetMessagesAsync() публичный статический Метод

public static GetMessagesAsync ( this operations, string conversationId, string watermark = null, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the DirectLinkApi.IConversations. ///
conversationId string /// Required. Conversation ID ///
watermark string /// Optional. (Optional) only returns messages newer than this watermark ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
Результат Task

NewConversation() публичный статический Метод

public static NewConversation ( this operations ) : Conversation
operations this /// Reference to the DirectLinkApi.IConversations. ///
Результат BuildIt.Bot.Client.DirectLinkApi.Models.Conversation

NewConversationAsync() публичный статический Метод

public static NewConversationAsync ( this operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the DirectLinkApi.IConversations. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
Результат Task

PostMessage() публичный статический Метод

public static PostMessage ( this operations, string conversationId, Message message ) : object
operations this /// Reference to the DirectLinkApi.IConversations. ///
conversationId string /// Required. Conversation ID ///
message BuildIt.Bot.Client.DirectLinkApi.Models.Message /// Required. Message to send ///
Результат object

PostMessageAsync() публичный статический Метод

public static PostMessageAsync ( this operations, string conversationId, Message message, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the DirectLinkApi.IConversations. ///
conversationId string /// Required. Conversation ID ///
message BuildIt.Bot.Client.DirectLinkApi.Models.Message /// Required. Message to send ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
Результат Task

Upload() публичный статический Метод

public static Upload ( this operations, string conversationId ) : object
operations this /// Reference to the DirectLinkApi.IConversations. ///
conversationId string /// Required. ///
Результат object

UploadAsync() публичный статический Метод

public static UploadAsync ( this operations, string conversationId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the DirectLinkApi.IConversations. ///
conversationId string /// Required. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
Результат Task