MessageActionsPayload Clase

  • java.lang.Object
    • com.microsoft.bot.schema.teams.MessageActionsPayload

public class MessageActionsPayload

Representa el mensaje individual dentro de un chat o canal donde se realiza una acción de mensaje.

Resumen del constructor

Constructor Description
MessageActionsPayload()

Resumen del método

Modificador y tipo Método y descripción
java.lang.String getAttachmentLayout()

Obtiene cómo se muestran los datos adjuntos en el mensaje.

java.util.List<MessageActionsPayloadAttachment> getAttachments()

Obtiene datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc.

MessageActionsPayloadBody getBody()

Obtiene una representación de texto no cifrado o HTML del contenido del mensaje.

java.lang.String getCreatedDateTime()

Obtiene la marca de tiempo de cuándo se creó el mensaje.

java.lang.Boolean getDeleted()

Indica si se ha eliminado temporalmente un mensaje.

MessageActionsPayloadFrom getFrom()

Obtiene el remitente del mensaje.

java.lang.String getId()

Obtiene el identificador único del mensaje.

java.lang.String getImportance()

Obtiene la importancia del mensaje.

java.lang.String getLastModifiedDateTime()

Obtiene la marca de tiempo de cuándo se editó o actualizó el mensaje.

java.lang.String getLinkToMessage()

Obtiene el vínculo al mensaje.

java.lang.String getLocale()

Obtiene la configuración regional del mensaje establecido por el cliente.

java.util.List<MessageActionsPayloadMention> getMentions()

Obtiene la lista de entidades mencionadas en el mensaje.

java.lang.String getMessageType()

Obtiene el tipo de mensaje: se establece automáticamente en message.

java.util.List<MessageActionsPayloadReaction> getReactions()

Obtiene reacciones para el mensaje.

java.lang.String getReplyToId()

Obtiene el identificador del mensaje primario o raíz del subproceso.

java.lang.String getSubject()

Obtiene la línea de asunto del mensaje.

java.lang.String getSummary()

Obtiene el texto de resumen del mensaje que se podría usar para las notificaciones.

void setAttachmentLayout(String withAttachmentLayout)

Establece cómo se muestran los datos adjuntos en el mensaje.

void setAttachments(List<MessageActionsPayloadAttachment> withAttachments)

Establece datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc.

void setBody(MessageActionsPayloadBody withBody)

Establece la representación de texto no cifrado o HTML del contenido del mensaje.

void setCreatedDateTime(String withCreatedDateTime)

Establece la marca de tiempo de cuando se creó el mensaje.

void setDeleted(Boolean withDeleted)

Indica si se ha eliminado temporalmente un mensaje.

void setFrom(MessageActionsPayloadFrom withFrom)

Establece el remitente del mensaje.

void setId(String withId)

Establece el identificador único del mensaje.

void setImportance(String withImportance)

Establece la importancia del mensaje.

void setLastModifiedDateTime(String withLastModifiedDateTime)

Establece la marca de tiempo de cuándo se editó o actualizó el mensaje.

void setLinkToMessage(String withLinkToMessage)

Vuelve a establecer el vínculo al mensaje.

void setLocale(String withLocale)

Establece la configuración regional del mensaje establecido por el cliente.

void setMentions(List<MessageActionsPayloadMention> withMentions)

Establece la lista de entidades mencionadas en el mensaje.

void setMessageType(String withMessageType)

Establece el tipo de mensaje.

void setReactions(List<MessageActionsPayloadReaction> withReactions)

Establece reacciones para el mensaje.

void setReplyToId(String withReplyToId)

Establece el identificador del mensaje primario o raíz del subproceso.

void setSubject(String withSubject)

Establece la línea de asunto del mensaje.

void setSummary(String withSummary)

Establece el texto de resumen del mensaje que se podría usar para las notificaciones.

Métodos heredados 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

Detalles del constructor

MessageActionsPayload

public MessageActionsPayload()

Detalles del método

getAttachmentLayout

public String getAttachmentLayout()

Obtiene cómo se muestran los datos adjuntos en el mensaje.

Devoluciones:

Diseño de datos adjuntos.

getAttachments

public List getAttachments()

Obtiene datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc.

Devoluciones:

Datos adjuntos del mensaje.

getBody

public MessageActionsPayloadBody getBody()

Obtiene una representación de texto no cifrado o HTML del contenido del mensaje.

Devoluciones:

Cuerpo del mensaje.

getCreatedDateTime

public String getCreatedDateTime()

Obtiene la marca de tiempo de cuándo se creó el mensaje.

Devoluciones:

Marca de tiempo del mensaje.

getDeleted

public Boolean getDeleted()

Indica si se ha eliminado temporalmente un mensaje.

Devoluciones:

True si se elimina.

getFrom

public MessageActionsPayloadFrom getFrom()

Obtiene el remitente del mensaje.

Devoluciones:

Remitente del mensaje.

getId

public String getId()

Obtiene el identificador único del mensaje.

Devoluciones:

Identificador único.

getImportance

public String getImportance()

Obtiene la importancia del mensaje.

Devoluciones:

Entre los valores posibles se incluyen: 'normal', 'high', 'urgent'

getLastModifiedDateTime

public String getLastModifiedDateTime()

Obtiene la marca de tiempo de cuándo se editó o actualizó el mensaje.

Devoluciones:

Marca de tiempo del mensaje.

getLinkToMessage

public String getLinkToMessage()

Obtiene el vínculo al mensaje.

Devoluciones:

Vínculo al mensaje.

getLocale

public String getLocale()

Obtiene la configuración regional del mensaje establecido por el cliente.

Devoluciones:

Configuración regional del mensaje.

getMentions

public List getMentions()

Obtiene la lista de entidades mencionadas en el mensaje.

Devoluciones:

Lista de menciones.

getMessageType

public String getMessageType()

Obtiene el tipo de mensaje: se establece automáticamente en message.

Devoluciones:

Entre los valores posibles se incluyen: 'message'

getReactions

public List getReactions()

Obtiene reacciones para el mensaje.

Devoluciones:

Reacciones de mensajes.

getReplyToId

public String getReplyToId()

Obtiene el identificador del mensaje primario o raíz del subproceso.

Devoluciones:

Identificador del mensaje primario o raíz.

getSubject

public String getSubject()

Obtiene la línea de asunto del mensaje.

Devoluciones:

Línea de asunto del mensaje.

getSummary

public String getSummary()

Obtiene el texto de resumen del mensaje que se podría usar para las notificaciones.

Devoluciones:

Texto de resumen.

setAttachmentLayout

public void setAttachmentLayout(String withAttachmentLayout)

Establece cómo se muestran los datos adjuntos en el mensaje.

Parámetros:

withAttachmentLayout - Diseño de datos adjuntos.

setAttachments

public void setAttachments(List withAttachments)

Establece datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc.

Parámetros:

withAttachments - Datos adjuntos del mensaje.

setBody

public void setBody(MessageActionsPayloadBody withBody)

Establece la representación de texto no cifrado o HTML del contenido del mensaje.

Parámetros:

withBody - Cuerpo del mensaje.

setCreatedDateTime

public void setCreatedDateTime(String withCreatedDateTime)

Establece la marca de tiempo de cuando se creó el mensaje.

Parámetros:

withCreatedDateTime - Marca de tiempo del mensaje.

setDeleted

public void setDeleted(Boolean withDeleted)

Indica si se ha eliminado temporalmente un mensaje.

Parámetros:

withDeleted - True si se elimina.

setFrom

public void setFrom(MessageActionsPayloadFrom withFrom)

Establece el remitente del mensaje.

Parámetros:

withFrom - Remitente del mensaje.

setId

public void setId(String withId)

Establece el identificador único del mensaje.

Parámetros:

withId - Nuevo identificador del mensaje.

setImportance

public void setImportance(String withImportance)

Establece la importancia del mensaje.

Parámetros:

withImportance - Entre los valores posibles se incluyen: 'normal', 'high', 'urgent'

setLastModifiedDateTime

public void setLastModifiedDateTime(String withLastModifiedDateTime)

Establece la marca de tiempo de cuándo se editó o actualizó el mensaje.

Parámetros:

withLastModifiedDateTime - Marca de tiempo del mensaje.

setLinkToMessage

public void setLinkToMessage(String withLinkToMessage)

Vuelve a establecer el vínculo al mensaje.

Parámetros:

withLinkToMessage - Vínculo al mensaje.

setLocale

public void setLocale(String withLocale)

Establece la configuración regional del mensaje establecido por el cliente.

Parámetros:

withLocale - Configuración regional del mensaje.

setMentions

public void setMentions(List withMentions)

Establece la lista de entidades mencionadas en el mensaje.

Parámetros:

withMentions - Lista de menciones.

setMessageType

public void setMessageType(String withMessageType)

Establece el tipo de mensaje.

Parámetros:

withMessageType - Entre los valores posibles se incluyen: 'message'

setReactions

public void setReactions(List withReactions)

Establece reacciones para el mensaje.

Parámetros:

withReactions - Reacciones de mensajes.

setReplyToId

public void setReplyToId(String withReplyToId)

Establece el identificador del mensaje primario o raíz del subproceso.

Parámetros:

withReplyToId - Identificador del mensaje primario o raíz.

setSubject

public void setSubject(String withSubject)

Establece la línea de asunto del mensaje.

Parámetros:

withSubject - Línea de asunto del mensaje.

setSummary

public void setSummary(String withSummary)

Establece el texto de resumen del mensaje que se podría usar para las notificaciones.

Parámetros:

withSummary - Texto de resumen.

Se aplica a