Class Chat

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

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

    • chatType

      @SerializedName(value="chatType", alternate="ChatType") @Expose @Nullable public ChatType 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 createdDateTime
      The Created Date Time. Date and time at which the chat was created. Read-only.
    • lastUpdatedDateTime

      @SerializedName(value="lastUpdatedDateTime", alternate="LastUpdatedDateTime") @Expose @Nullable public OffsetDateTime lastUpdatedDateTime
      The 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 onlineMeetingInfo
      The 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

      @SerializedName(value="tenantId", alternate="TenantId") @Expose @Nullable public String tenantId
      The Tenant Id. The identifier of the tenant in which the chat was created. Read-only.
    • topic

      @SerializedName(value="topic", alternate="Topic") @Expose @Nullable public String 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 viewpoint
      The 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

      @SerializedName(value="webUrl", alternate="WebUrl") @Expose @Nullable public String 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 installedApps
      The Installed Apps. A collection of all the apps in the chat. Nullable.
    • lastMessagePreview

      @SerializedName(value="lastMessagePreview", alternate="LastMessagePreview") @Expose @Nullable public ChatMessageInfo lastMessagePreview
      The 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 members
      The Members. A collection of all the members in the chat. Nullable.
    • messages

      @SerializedName(value="messages", alternate="Messages") @Expose @Nullable public ChatMessageCollectionPage messages
      The Messages. A collection of all the messages in the chat. Nullable.
    • pinnedMessages

      @SerializedName(value="pinnedMessages", alternate="PinnedMessages") @Expose @Nullable public PinnedChatMessageInfoCollectionPage pinnedMessages
      The Pinned Messages. A collection of all the pinned messages in the chat. Nullable.
    • tabs

      @SerializedName(value="tabs", alternate="Tabs") @Expose @Nullable public TeamsTabCollectionPage tabs
      The 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to