Class ChatMessageInfo

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ChatMessageInfo
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ChatMessageInfo extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Chat Message Info.
  • Field Details

    • body

      @SerializedName(value="body", alternate="Body") @Expose @Nullable public ItemBody body
      The Body. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. Date time object representing the time at which message was created.
    • eventDetail

      @SerializedName(value="eventDetail", alternate="EventDetail") @Expose @Nullable public EventMessageDetail eventDetail
      The Event Detail. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage.
    • from

      @SerializedName(value="from", alternate="From") @Expose @Nullable public ChatMessageFromIdentitySet from
      The From. Information about the sender of the message.
    • isDeleted

      @SerializedName(value="isDeleted", alternate="IsDeleted") @Expose @Nullable public Boolean isDeleted
      The Is Deleted. If set to true, the original message has been deleted.
    • messageType

      @SerializedName(value="messageType", alternate="MessageType") @Expose @Nullable public ChatMessageType messageType
      The Message Type. The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage.
  • Constructor Details

    • ChatMessageInfo

      public ChatMessageInfo()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to