Package com.microsoft.graph.models
Class Chat
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Chat
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Chat Type.The Created Date Time.The Installed Apps.The Last Message Preview.The Last Updated Date Time.The Members.The Messages.The Online Meeting Info.The Pinned Messages.The Tabs.The Tenant Id.The Topic.The Viewpoint.The Web Url. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
chatType
The Chat Type. Specifies the type of chat. Possible values are: group, oneOnOne, meeting, unknownFutureValue. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. Date and time at which the chat was created. Read-only. -
lastUpdatedDateTime
@SerializedName(value="lastUpdatedDateTime", alternate="LastUpdatedDateTime") @Expose @Nullable public OffsetDateTime lastUpdatedDateTimeThe Last Updated Date Time. Date and time at which the chat was renamed or list of members were last changed. Read-only. -
onlineMeetingInfo
@SerializedName(value="onlineMeetingInfo", alternate="OnlineMeetingInfo") @Expose @Nullable public TeamworkOnlineMeetingInfo onlineMeetingInfoThe Online Meeting Info. Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. -
tenantId
The Tenant Id. The identifier of the tenant in which the chat was created. Read-only. -
topic
The Topic. (Optional) Subject or topic for the chat. Only available for group chats. -
viewpoint
@SerializedName(value="viewpoint", alternate="Viewpoint") @Expose @Nullable public ChatViewpoint viewpointThe Viewpoint. Represents caller-specific information about the chat, such as last message read date and time. This property is populated only when the request is made in a delegated context. -
webUrl
The Web Url. The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. -
installedApps
@SerializedName(value="installedApps", alternate="InstalledApps") @Expose @Nullable public TeamsAppInstallationCollectionPage installedAppsThe Installed Apps. A collection of all the apps in the chat. Nullable. -
lastMessagePreview
@SerializedName(value="lastMessagePreview", alternate="LastMessagePreview") @Expose @Nullable public ChatMessageInfo lastMessagePreviewThe Last Message Preview. Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. -
members
@SerializedName(value="members", alternate="Members") @Expose @Nullable public ConversationMemberCollectionPage membersThe Members. A collection of all the members in the chat. Nullable. -
messages
@SerializedName(value="messages", alternate="Messages") @Expose @Nullable public ChatMessageCollectionPage messagesThe Messages. A collection of all the messages in the chat. Nullable. -
pinnedMessages
@SerializedName(value="pinnedMessages", alternate="PinnedMessages") @Expose @Nullable public PinnedChatMessageInfoCollectionPage pinnedMessagesThe Pinned Messages. A collection of all the pinned messages in the chat. Nullable. -
tabs
@SerializedName(value="tabs", alternate="Tabs") @Expose @Nullable public TeamsTabCollectionPage tabsThe Tabs. A collection of all the tabs in the chat. Nullable.
-
-
Constructor Details
-
Chat
public Chat()
-
-
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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-