MessageActionsPayload Clase
- java.
lang. Object - com.
microsoft. bot. schema. teams. MessageActionsPayload
- com.
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<Message |
getAttachments()
Obtiene datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc. |
|
Message |
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. |
|
Message |
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<Message |
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<Message |
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
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:
getAttachments
public List
Obtiene datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc.
Devoluciones:
getBody
public MessageActionsPayloadBody getBody()
Obtiene una representación de texto no cifrado o HTML del contenido del mensaje.
Devoluciones:
getCreatedDateTime
public String getCreatedDateTime()
Obtiene la marca de tiempo de cuándo se creó el mensaje.
Devoluciones:
getDeleted
public Boolean getDeleted()
Indica si se ha eliminado temporalmente un mensaje.
Devoluciones:
getFrom
public MessageActionsPayloadFrom getFrom()
Obtiene el remitente del mensaje.
Devoluciones:
getId
public String getId()
Obtiene el identificador único del mensaje.
Devoluciones:
getImportance
public String getImportance()
Obtiene la importancia del mensaje.
Devoluciones:
getLastModifiedDateTime
public String getLastModifiedDateTime()
Obtiene la marca de tiempo de cuándo se editó o actualizó el mensaje.
Devoluciones:
getLinkToMessage
public String getLinkToMessage()
Obtiene el vínculo al mensaje.
Devoluciones:
getLocale
public String getLocale()
Obtiene la configuración regional del mensaje establecido por el cliente.
Devoluciones:
getMentions
public List
Obtiene la lista de entidades mencionadas en el mensaje.
Devoluciones:
getMessageType
public String getMessageType()
Obtiene el tipo de mensaje: se establece automáticamente en message.
Devoluciones:
getReactions
public List
Obtiene reacciones para el mensaje.
Devoluciones:
getReplyToId
public String getReplyToId()
Obtiene el identificador del mensaje primario o raíz del subproceso.
Devoluciones:
getSubject
public String getSubject()
Obtiene la línea de asunto del mensaje.
Devoluciones:
getSummary
public String getSummary()
Obtiene el texto de resumen del mensaje que se podría usar para las notificaciones.
Devoluciones:
setAttachmentLayout
public void setAttachmentLayout(String withAttachmentLayout)
Establece cómo se muestran los datos adjuntos en el mensaje.
Parámetros:
setAttachments
public void setAttachments(List
Establece datos adjuntos en el mensaje: tarjeta, imagen, archivo, etc.
Parámetros:
setBody
public void setBody(MessageActionsPayloadBody withBody)
Establece la representación de texto no cifrado o HTML del contenido del mensaje.
Parámetros:
setCreatedDateTime
public void setCreatedDateTime(String withCreatedDateTime)
Establece la marca de tiempo de cuando se creó el mensaje.
Parámetros:
setDeleted
public void setDeleted(Boolean withDeleted)
Indica si se ha eliminado temporalmente un mensaje.
Parámetros:
setFrom
public void setFrom(MessageActionsPayloadFrom withFrom)
Establece el remitente del mensaje.
Parámetros:
setId
public void setId(String withId)
Establece el identificador único del mensaje.
Parámetros:
setImportance
public void setImportance(String withImportance)
Establece la importancia del mensaje.
Parámetros:
setLastModifiedDateTime
public void setLastModifiedDateTime(String withLastModifiedDateTime)
Establece la marca de tiempo de cuándo se editó o actualizó el mensaje.
Parámetros:
setLinkToMessage
public void setLinkToMessage(String withLinkToMessage)
Vuelve a establecer el vínculo al mensaje.
Parámetros:
setLocale
public void setLocale(String withLocale)
Establece la configuración regional del mensaje establecido por el cliente.
Parámetros:
setMentions
public void setMentions(List
Establece la lista de entidades mencionadas en el mensaje.
Parámetros:
setMessageType
public void setMessageType(String withMessageType)
Establece el tipo de mensaje.
Parámetros:
setReactions
public void setReactions(List
Establece reacciones para el mensaje.
Parámetros:
setReplyToId
public void setReplyToId(String withReplyToId)
Establece el identificador del mensaje primario o raíz del subproceso.
Parámetros:
setSubject
public void setSubject(String withSubject)
Establece la línea de asunto del mensaje.
Parámetros:
setSummary
public void setSummary(String withSummary)
Establece el texto de resumen del mensaje que se podría usar para las notificaciones.
Parámetros: