TranscriptInfo Class

  • java.lang.Object
    • com.microsoft.bot.builder.TranscriptInfo

public class TranscriptInfo

Represents a copy of a conversation.

Constructor Summary

Constructor Description
TranscriptInfo(String withId, String withChannelId, OffsetDateTime withCreated)

Constructor.

Method Summary

Modifier and Type Method and Description
java.lang.String channelId()

Gets the ID of the channel in which the conversation occurred.

java.time.OffsetDateTime getCreated()

Gets the date the conversation began.

java.lang.String getId()

Gets the ID of the conversation.

void setChannelId(String withChannelId)

Sets the ID of the channel in which the conversation occurred.

void setCreated(OffsetDateTime withCreated)

Sets the date the conversation began.

void setId(String withId)

Sets the ID of the conversation.

Methods inherited from 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

Constructor Details

TranscriptInfo

public TranscriptInfo(String withId, String withChannelId, OffsetDateTime withCreated)

Constructor.

Parameters:

withId - The conversation id.
withChannelId - The channel id.
withCreated - Created timestamp.

Method Details

channelId

public String channelId()

Gets the ID of the channel in which the conversation occurred.

Returns:

The ID of the channel in which the conversation occurred.

getCreated

public OffsetDateTime getCreated()

Gets the date the conversation began.

Returns:

The date then conversation began.

getId

public String getId()

Gets the ID of the conversation.

Returns:

The ID of the conversation.

setChannelId

public void setChannelId(String withChannelId)

Sets the ID of the channel in which the conversation occurred.

Parameters:

withChannelId - The ID of the channel in which the conversation occurred.

setCreated

public void setCreated(OffsetDateTime withCreated)

Sets the date the conversation began.

Parameters:

withCreated - The date then conversation began.

setId

public void setId(String withId)

Sets the ID of the conversation.

Parameters:

withId - The ID of the conversation.

Applies to