RestConversations Classe

  • java.lang.Object
    • com.microsoft.bot.connector.rest.RestConversations

Implementações

public class RestConversations
implements Conversations

Uma instância dessa classe fornece acesso a todas as operações definidas em Conversas.

Resumo do método

Modificador e tipo Método e descrição

java.util.concurrent.CompletableFuture<ConversationResourceResponse>

createConversation(ConversationParameters parameters)

Implementação da criaçãode Conversa.

java.util.concurrent.CompletableFuture<java.lang.Void>

deleteActivity(String conversationId, String activityId)

Implementação da atividade delete.

java.util.concurrent.CompletableFuture<java.lang.Void>

deleteConversationMember(String conversationId, String memberId)

Implementação de excluirMembro da Conversa.

java.util.concurrent.CompletableFuture<java.util.List<ChannelAccount>>

getActivityMembers(String conversationId, String activityId)

Implementação de obtermembros da atividade.

java.util.concurrent.CompletableFuture<ChannelAccount>

getConversationMember(String userId, String conversationId)

Implementação de obtermembro de conversa.

java.util.concurrent.CompletableFuture<java.util.List<ChannelAccount>>

getConversationMembers(String conversationId)

Implementação de obtermembros da conversa.

java.util.concurrent.CompletableFuture<PagedMembersResult>

getConversationPagedMembers(String conversationId)

Implementação de obtermembros pagedde conversa.

java.util.concurrent.CompletableFuture<PagedMembersResult>

getConversationPagedMembers(String conversationId, String continuationToken)

Implementação de obtermembros pagedde conversa.

java.util.concurrent.CompletableFuture<ConversationsResult>

getConversations()

Implementação de obterconversas.

java.util.concurrent.CompletableFuture<ConversationsResult>

getConversations(String continuationToken)

Implementação de obterconversas.

java.util.concurrent.CompletableFuture<ResourceResponse>

replyToActivity(String conversationId, String activityId, Activity activity)

Implementação da respostaToActivity.

java.util.concurrent.CompletableFuture<ResourceResponse>

sendConversationHistory(String conversationId, Transcript history)

Implementação do histórico de enviode conversas.

java.util.concurrent.CompletableFuture<ResourceResponse>

sendToConversation(String conversationId, Activity activity)

Implementação do enviode ToConversation.

java.util.concurrent.CompletableFuture<ResourceResponse>

updateActivity(String conversationId, String activityId, Activity activity)

Implementação da atividade de atualização.

java.util.concurrent.CompletableFuture<ResourceResponse>

uploadAttachment(String conversationId, AttachmentData attachmentUpload)

Implementação do anexo de upload.

Métodos herdados de java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Detalhes do método

createConversation

public CompletableFuture createConversation(ConversationParameters parameters)

Implementação de createConversation.

Parameters:

parameters

deleteActivity

public CompletableFuture deleteActivity(String conversationId, String activityId)

Implementação de deleteActivity.

Parameters:

conversationId
activityId

deleteConversationMember

public CompletableFuture deleteConversationMember(String conversationId, String memberId)

Implementação de deleteConversationMember.

Parameters:

conversationId
memberId

getActivityMembers

public CompletableFuture<>> getActivityMembers(String conversationId, String activityId)

Implementação de getActivityMembers.

Parameters:

conversationId
activityId

getConversationMember

public CompletableFuture getConversationMember(String userId, String conversationId)

Implementação de getConversationMember.

Parameters:

userId
conversationId

getConversationMembers

public CompletableFuture<>> getConversationMembers(String conversationId)

Implementação de getConversationMembers.

Parameters:

conversationId

getConversationPagedMembers

public CompletableFuture getConversationPagedMembers(String conversationId)

Implementação de getConversationPagedMembers.

Parameters:

conversationId

getConversationPagedMembers

public CompletableFuture getConversationPagedMembers(String conversationId, String continuationToken)

Implementação de getConversationPagedMembers.

Parameters:

conversationId - Identificação da conversa
continuationToken - O continuationToken de uma chamada anterior.

Returns:

o objeto PagedMembersResult se tiver êxito.

getConversations

public CompletableFuture getConversations()

Implementação de getConversations.

getConversations

public CompletableFuture getConversations(String continuationToken)

Implementação de getConversations.

Parameters:

continuationToken

replyToActivity

public CompletableFuture replyToActivity(String conversationId, String activityId, Activity activity)

Implementação de replyToActivity.

Parameters:

conversationId
activityId
activity

sendConversationHistory

public CompletableFuture sendConversationHistory(String conversationId, Transcript history)

Implementação de sendConversationHistory.

Parameters:

conversationId
history

sendToConversation

public CompletableFuture sendToConversation(String conversationId, Activity activity)

Implementação de sendToConversation.

Parameters:

conversationId
activity

updateActivity

public CompletableFuture updateActivity(String conversationId, String activityId, Activity activity)

Implementação de updateActivity.

Parameters:

conversationId
activityId
activity

uploadAttachment

public CompletableFuture uploadAttachment(String conversationId, AttachmentData attachmentUpload)

Implementação de uploadAttachment.

Parameters:

conversationId
attachmentUpload

Aplica-se a