Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Body.The Created Date Time.The Event Detail.The From.The Is Deleted.The Message Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
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 createdDateTimeThe Created Date Time. Date time object representing the time at which message was created. -
eventDetail
@SerializedName(value="eventDetail", alternate="EventDetail") @Expose @Nullable public EventMessageDetail eventDetailThe 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 fromThe From. Information about the sender of the message. -
isDeleted
@SerializedName(value="isDeleted", alternate="IsDeleted") @Expose @Nullable public Boolean isDeletedThe Is Deleted. If set to true, the original message has been deleted. -
messageType
@SerializedName(value="messageType", alternate="MessageType") @Expose @Nullable public ChatMessageType messageTypeThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-