GET restapi/personal/instantmessages/messagethreads/{threadId}/v3?maxMessages={maxMessages}&upperBoundInstantMessageId={upperBoundInstantMessageId}&lowerBoundInstantMessageId={lowerBoundInstantMessageId}

Gets the instant message thread and the messages in a specific thread. The impersonated user need to be a member of the thread. One cannot use both lowerBoundInstantMessageId and upperBoundInstantMessageId.

If you only need messages from the thread, consider using "messagethreads/{threadId}/messages/v2" instead. This version doesn't return thread participants for course threads for performance reasons.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
threadId

The thread id

integer

Required

maxMessages

Maximum number of messages to get. Default value is 100. Maximum value is 500

integer

None.

upperBoundInstantMessageId

Load messages before this instant message id

integer, 64 bit

None.

lowerBoundInstantMessageId

Load messages after this instant message id

integer, 64 bit

None.

Body Parameters

None.

Response Information

Resource Description

List of InstantMessage entities

Itslearning.RestApi.Entities.InstantMessageThread
NameDescriptionTypeAdditional information
InstantMessageThreadId

The identifier for the thread

integer

None.

Name

The name of the thread

string

None.

Created

The date the thread was created

date

None.

CreatedByTeacher

Gets whether the user who created thread is a teacher.

boolean

None.

CreatedBy

The person identifier who has created the thread.

integer

None.

Type

The type of thread this is

Valid values are 'Course', 'Project', 'Group', 'OneToOne' and 'GroupPlaceHolder'

string

None.

ColorSchema

The colorSchema for this thread. Only applies if type is 'Course'

string

None.

Messages

Some message in the thread

EntityListOfItslearning.RestApi.Entities.InstantMessage

None.

LastMessage

The last message in the thread

Itslearning.RestApi.Entities.InstantMessage

None.

MatchingMessageIds

The id's of all messages in the thread that match the search query (if any)

Collection of integer, 64 bit

None.

Participants

An array of participants in the thread

Collection of Itslearning.RestApi.Entities.ThreadParticipant

None.

ParticipantsCount

Number of participants in the thread.

integer

None.

HasActiveParticipants

Defines whether current thread has any recipients except current user who are able to receive messages.

boolean

None.

HasInactiveParticipants

Defines whether current thread has any recipients except current user who are not able to receive messages.

boolean

None.

NumberOfInactiveParticipants

Number of persons who are not able to receive messages in a conversation.

integer

None.

InactiveParticipantFullName

Full name of person who are not able to receive messages in case if there's the only one such person in a conversation.

string

None.

HasCreatorInThread

Defines whether person who created current thread is still in the list of its participants.

boolean

None.

IsCurrentUserARecipientWithSourceLocation

Defines whether current person is in the list of current thread participants as course/project/collaboration/hierarchy member.

boolean

None.

LocationRecipients

An array of location recipients in the thread

Collection of Itslearning.RestApi.Entities.LocationRecipient

None.

CanShowParticipantsPage

Defines whether course participants page is allowed to be seen.

boolean

None.

LastReadInstantMessageId

The id of the last read instant message if there is one

integer, 64 bit

None.

SortIndex

A number that the threads will be sorted by. Highest number is shown as the thread with most recent update (contains newest message).

integer, 64 bit

None.

OnlyThreadAdminCanSendToThread

Gets whether only thread admins can send to this thread

boolean

None.

IsThreadAdministrator

Gets whether the current user is an administrator of this thread Only course threads have administrators

boolean

None.

IsThreadModerator

Thread moderator have additional permissions to moderate the thread: to close or delete the thread, delete individual messages.

boolean

None.

InstantMessageLocationId

The location identifier for the thread

integer

None.

IsBlocked

Determines whether the thread is blocked.

boolean

None.

UserAllowToBlockThread

Determines whether the thread can be blocked by current user.

boolean

None.

IsAbuse

Determines whether the thread is abusive (marked as abusive by the current user or the current user got a report message about abuse).

boolean

None.

IsAbuseReportedByCurrentUser

Contains true if the current person has sent a report message that the thread is abusive.

boolean

None.

MassMessageType

Determines types of messages in thread

Itslearning.RestApi.Entities.InstantMessageMassMessageType

None.

Tooltip

Tooltip to be displayed on the thread title.

string

None.

CanDelete

Determines whether the thread can be hard deleted.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "InstantMessageThreadId": 1,
  "Name": "sample string 2",
  "Created": "2025-06-16T20:46:06Z",
  "CreatedByTeacher": true,
  "CreatedBy": 5,
  "Type": "sample string 6",
  "ColorSchema": "sample string 7",
  "Messages": {
    "EntityArray": [
      {
        "MessageId": 1,
        "MessageThreadId": 2,
        "InstantMessageThreadId": 3,
        "MessageThreadParticipants": [
          {
            "PersonId": 1,
            "Name": "sample string 1",
            "AvatarUrl": "sample string 2",
            "LocationType": 1,
            "LocationId": 1
          },
          {
            "PersonId": 1,
            "Name": "sample string 1",
            "AvatarUrl": "sample string 2",
            "LocationType": 1,
            "LocationId": 1
          }
        ],
        "Created": "2025-06-16T20:46:06Z",
        "CreatedFormatted": "sample string 5",
        "CreatedRelative": "sample string 6",
        "EditedRelative": "sample string 7",
        "CreatedBy": 8,
        "CreatedByName": "sample string 9",
        "HomeOrganization": "sample string 10",
        "CreatedByAvatar": "sample string 11",
        "Text": "sample string 12",
        "AttachmentUrl": "sample string 13",
        "AttachmentName": "sample string 14",
        "Link": "sample string 15",
        "LinkTitle": "sample string 16",
        "LinkTarget": "sample string 17",
        "IsSystemMessage": true,
        "IsDeleted": true,
        "DeletedBy": 20,
        "CanDelete": true,
        "IsEdited": true,
        "CanEdit": true,
        "IsStarred": true,
        "IsSilent": true,
        "IsAbuse": true,
        "HasShared": true,
        "HasRepliedTo": true,
        "HasAbuseReported": true,
        "HasAbuseThreadReported": true,
        "OriginInstantMessage": {
          "MessageId": 1,
          "MessageThreadId": 2,
          "InstantMessageThreadId": 3,
          "MessageThreadParticipants": [
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            },
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            }
          ],
          "Created": "2025-06-16T20:46:06Z",
          "CreatedFormatted": "sample string 5",
          "CreatedRelative": "sample string 6",
          "EditedRelative": "sample string 7",
          "CreatedBy": 8,
          "CreatedByName": "sample string 9",
          "HomeOrganization": "sample string 10",
          "CreatedByAvatar": "sample string 11",
          "Text": "sample string 12",
          "AttachmentUrl": "sample string 13",
          "AttachmentName": "sample string 14",
          "Link": "sample string 15",
          "LinkTitle": "sample string 16",
          "LinkTarget": "sample string 17",
          "IsSystemMessage": true,
          "IsDeleted": true,
          "DeletedBy": 20,
          "CanDelete": true,
          "IsEdited": true,
          "CanEdit": true,
          "IsStarred": true,
          "IsSilent": true,
          "IsAbuse": true,
          "HasShared": true,
          "HasRepliedTo": true,
          "HasAbuseReported": true,
          "HasAbuseThreadReported": true,
          "OriginInstantMessage": null,
          "OriginInstantMessageThreadId": 1,
          "OriginInstantMessageThreadDeletedBy": 1,
          "OriginInstantMessageThreadName": "sample string 31",
          "ChildMessage": null,
          "AdditionalHeading": "sample string 32",
          "IsBroadcastMassMessage": true,
          "IsChildMessageDeletedPermanently": true,
          "CreatedLocal": "2025-06-16T20:46:06Z",
          "CreatedLocalTimeStamp": "sample string 36",
          "CreatedLocalDateStamp": "sample string 37",
          "CreatedByShortName": "sample string 38",
          "CreatedLocalShortNumericDate": "sample string 39"
        },
        "OriginInstantMessageThreadId": 1,
        "OriginInstantMessageThreadDeletedBy": 1,
        "OriginInstantMessageThreadName": "sample string 31",
        "ChildMessage": {
          "MessageId": 1,
          "MessageThreadId": 2,
          "InstantMessageThreadId": 3,
          "MessageThreadParticipants": [
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            },
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            }
          ],
          "Created": "2025-06-16T20:46:06Z",
          "CreatedFormatted": "sample string 5",
          "CreatedRelative": "sample string 6",
          "EditedRelative": "sample string 7",
          "CreatedBy": 8,
          "CreatedByName": "sample string 9",
          "HomeOrganization": "sample string 10",
          "CreatedByAvatar": "sample string 11",
          "Text": "sample string 12",
          "AttachmentUrl": "sample string 13",
          "AttachmentName": "sample string 14",
          "Link": "sample string 15",
          "LinkTitle": "sample string 16",
          "LinkTarget": "sample string 17",
          "IsSystemMessage": true,
          "IsDeleted": true,
          "DeletedBy": 20,
          "CanDelete": true,
          "IsEdited": true,
          "CanEdit": true,
          "IsStarred": true,
          "IsSilent": true,
          "IsAbuse": true,
          "HasShared": true,
          "HasRepliedTo": true,
          "HasAbuseReported": true,
          "HasAbuseThreadReported": true,
          "OriginInstantMessage": null,
          "OriginInstantMessageThreadId": 1,
          "OriginInstantMessageThreadDeletedBy": 1,
          "OriginInstantMessageThreadName": "sample string 31",
          "ChildMessage": null,
          "AdditionalHeading": "sample string 32",
          "IsBroadcastMassMessage": true,
          "IsChildMessageDeletedPermanently": true,
          "CreatedLocal": "2025-06-16T20:46:06Z",
          "CreatedLocalTimeStamp": "sample string 36",
          "CreatedLocalDateStamp": "sample string 37",
          "CreatedByShortName": "sample string 38",
          "CreatedLocalShortNumericDate": "sample string 39"
        },
        "AdditionalHeading": "sample string 32",
        "IsBroadcastMassMessage": true,
        "IsChildMessageDeletedPermanently": true,
        "CreatedLocal": "2025-06-16T20:46:06Z",
        "CreatedLocalTimeStamp": "sample string 36",
        "CreatedLocalDateStamp": "sample string 37",
        "CreatedByShortName": "sample string 38",
        "CreatedLocalShortNumericDate": "sample string 39"
      },
      {
        "MessageId": 1,
        "MessageThreadId": 2,
        "InstantMessageThreadId": 3,
        "MessageThreadParticipants": [
          {
            "PersonId": 1,
            "Name": "sample string 1",
            "AvatarUrl": "sample string 2",
            "LocationType": 1,
            "LocationId": 1
          },
          {
            "PersonId": 1,
            "Name": "sample string 1",
            "AvatarUrl": "sample string 2",
            "LocationType": 1,
            "LocationId": 1
          }
        ],
        "Created": "2025-06-16T20:46:06Z",
        "CreatedFormatted": "sample string 5",
        "CreatedRelative": "sample string 6",
        "EditedRelative": "sample string 7",
        "CreatedBy": 8,
        "CreatedByName": "sample string 9",
        "HomeOrganization": "sample string 10",
        "CreatedByAvatar": "sample string 11",
        "Text": "sample string 12",
        "AttachmentUrl": "sample string 13",
        "AttachmentName": "sample string 14",
        "Link": "sample string 15",
        "LinkTitle": "sample string 16",
        "LinkTarget": "sample string 17",
        "IsSystemMessage": true,
        "IsDeleted": true,
        "DeletedBy": 20,
        "CanDelete": true,
        "IsEdited": true,
        "CanEdit": true,
        "IsStarred": true,
        "IsSilent": true,
        "IsAbuse": true,
        "HasShared": true,
        "HasRepliedTo": true,
        "HasAbuseReported": true,
        "HasAbuseThreadReported": true,
        "OriginInstantMessage": {
          "MessageId": 1,
          "MessageThreadId": 2,
          "InstantMessageThreadId": 3,
          "MessageThreadParticipants": [
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            },
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            }
          ],
          "Created": "2025-06-16T20:46:06Z",
          "CreatedFormatted": "sample string 5",
          "CreatedRelative": "sample string 6",
          "EditedRelative": "sample string 7",
          "CreatedBy": 8,
          "CreatedByName": "sample string 9",
          "HomeOrganization": "sample string 10",
          "CreatedByAvatar": "sample string 11",
          "Text": "sample string 12",
          "AttachmentUrl": "sample string 13",
          "AttachmentName": "sample string 14",
          "Link": "sample string 15",
          "LinkTitle": "sample string 16",
          "LinkTarget": "sample string 17",
          "IsSystemMessage": true,
          "IsDeleted": true,
          "DeletedBy": 20,
          "CanDelete": true,
          "IsEdited": true,
          "CanEdit": true,
          "IsStarred": true,
          "IsSilent": true,
          "IsAbuse": true,
          "HasShared": true,
          "HasRepliedTo": true,
          "HasAbuseReported": true,
          "HasAbuseThreadReported": true,
          "OriginInstantMessage": null,
          "OriginInstantMessageThreadId": 1,
          "OriginInstantMessageThreadDeletedBy": 1,
          "OriginInstantMessageThreadName": "sample string 31",
          "ChildMessage": null,
          "AdditionalHeading": "sample string 32",
          "IsBroadcastMassMessage": true,
          "IsChildMessageDeletedPermanently": true,
          "CreatedLocal": "2025-06-16T20:46:06Z",
          "CreatedLocalTimeStamp": "sample string 36",
          "CreatedLocalDateStamp": "sample string 37",
          "CreatedByShortName": "sample string 38",
          "CreatedLocalShortNumericDate": "sample string 39"
        },
        "OriginInstantMessageThreadId": 1,
        "OriginInstantMessageThreadDeletedBy": 1,
        "OriginInstantMessageThreadName": "sample string 31",
        "ChildMessage": {
          "MessageId": 1,
          "MessageThreadId": 2,
          "InstantMessageThreadId": 3,
          "MessageThreadParticipants": [
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            },
            {
              "PersonId": 1,
              "Name": "sample string 1",
              "AvatarUrl": "sample string 2",
              "LocationType": 1,
              "LocationId": 1
            }
          ],
          "Created": "2025-06-16T20:46:06Z",
          "CreatedFormatted": "sample string 5",
          "CreatedRelative": "sample string 6",
          "EditedRelative": "sample string 7",
          "CreatedBy": 8,
          "CreatedByName": "sample string 9",
          "HomeOrganization": "sample string 10",
          "CreatedByAvatar": "sample string 11",
          "Text": "sample string 12",
          "AttachmentUrl": "sample string 13",
          "AttachmentName": "sample string 14",
          "Link": "sample string 15",
          "LinkTitle": "sample string 16",
          "LinkTarget": "sample string 17",
          "IsSystemMessage": true,
          "IsDeleted": true,
          "DeletedBy": 20,
          "CanDelete": true,
          "IsEdited": true,
          "CanEdit": true,
          "IsStarred": true,
          "IsSilent": true,
          "IsAbuse": true,
          "HasShared": true,
          "HasRepliedTo": true,
          "HasAbuseReported": true,
          "HasAbuseThreadReported": true,
          "OriginInstantMessage": null,
          "OriginInstantMessageThreadId": 1,
          "OriginInstantMessageThreadDeletedBy": 1,
          "OriginInstantMessageThreadName": "sample string 31",
          "ChildMessage": null,
          "AdditionalHeading": "sample string 32",
          "IsBroadcastMassMessage": true,
          "IsChildMessageDeletedPermanently": true,
          "CreatedLocal": "2025-06-16T20:46:06Z",
          "CreatedLocalTimeStamp": "sample string 36",
          "CreatedLocalDateStamp": "sample string 37",
          "CreatedByShortName": "sample string 38",
          "CreatedLocalShortNumericDate": "sample string 39"
        },
        "AdditionalHeading": "sample string 32",
        "IsBroadcastMassMessage": true,
        "IsChildMessageDeletedPermanently": true,
        "CreatedLocal": "2025-06-16T20:46:06Z",
        "CreatedLocalTimeStamp": "sample string 36",
        "CreatedLocalDateStamp": "sample string 37",
        "CreatedByShortName": "sample string 38",
        "CreatedLocalShortNumericDate": "sample string 39"
      }
    ],
    "Total": 1,
    "CurrentPageIndex": 2,
    "PageSize": 3
  },
  "LastMessage": {
    "MessageId": 1,
    "MessageThreadId": 2,
    "InstantMessageThreadId": 3,
    "MessageThreadParticipants": [
      {
        "PersonId": 1,
        "Name": "sample string 1",
        "AvatarUrl": "sample string 2",
        "LocationType": 1,
        "LocationId": 1
      },
      {
        "PersonId": 1,
        "Name": "sample string 1",
        "AvatarUrl": "sample string 2",
        "LocationType": 1,
        "LocationId": 1
      }
    ],
    "Created": "2025-06-16T20:46:06Z",
    "CreatedFormatted": "sample string 5",
    "CreatedRelative": "sample string 6",
    "EditedRelative": "sample string 7",
    "CreatedBy": 8,
    "CreatedByName": "sample string 9",
    "HomeOrganization": "sample string 10",
    "CreatedByAvatar": "sample string 11",
    "Text": "sample string 12",
    "AttachmentUrl": "sample string 13",
    "AttachmentName": "sample string 14",
    "Link": "sample string 15",
    "LinkTitle": "sample string 16",
    "LinkTarget": "sample string 17",
    "IsSystemMessage": true,
    "IsDeleted": true,
    "DeletedBy": 20,
    "CanDelete": true,
    "IsEdited": true,
    "CanEdit": true,
    "IsStarred": true,
    "IsSilent": true,
    "IsAbuse": true,
    "HasShared": true,
    "HasRepliedTo": true,
    "HasAbuseReported": true,
    "HasAbuseThreadReported": true,
    "OriginInstantMessage": {
      "MessageId": 1,
      "MessageThreadId": 2,
      "InstantMessageThreadId": 3,
      "MessageThreadParticipants": [
        {
          "PersonId": 1,
          "Name": "sample string 1",
          "AvatarUrl": "sample string 2",
          "LocationType": 1,
          "LocationId": 1
        },
        {
          "PersonId": 1,
          "Name": "sample string 1",
          "AvatarUrl": "sample string 2",
          "LocationType": 1,
          "LocationId": 1
        }
      ],
      "Created": "2025-06-16T20:46:06Z",
      "CreatedFormatted": "sample string 5",
      "CreatedRelative": "sample string 6",
      "EditedRelative": "sample string 7",
      "CreatedBy": 8,
      "CreatedByName": "sample string 9",
      "HomeOrganization": "sample string 10",
      "CreatedByAvatar": "sample string 11",
      "Text": "sample string 12",
      "AttachmentUrl": "sample string 13",
      "AttachmentName": "sample string 14",
      "Link": "sample string 15",
      "LinkTitle": "sample string 16",
      "LinkTarget": "sample string 17",
      "IsSystemMessage": true,
      "IsDeleted": true,
      "DeletedBy": 20,
      "CanDelete": true,
      "IsEdited": true,
      "CanEdit": true,
      "IsStarred": true,
      "IsSilent": true,
      "IsAbuse": true,
      "HasShared": true,
      "HasRepliedTo": true,
      "HasAbuseReported": true,
      "HasAbuseThreadReported": true,
      "OriginInstantMessage": null,
      "OriginInstantMessageThreadId": 1,
      "OriginInstantMessageThreadDeletedBy": 1,
      "OriginInstantMessageThreadName": "sample string 31",
      "ChildMessage": null,
      "AdditionalHeading": "sample string 32",
      "IsBroadcastMassMessage": true,
      "IsChildMessageDeletedPermanently": true,
      "CreatedLocal": "2025-06-16T20:46:06Z",
      "CreatedLocalTimeStamp": "sample string 36",
      "CreatedLocalDateStamp": "sample string 37",
      "CreatedByShortName": "sample string 38",
      "CreatedLocalShortNumericDate": "sample string 39"
    },
    "OriginInstantMessageThreadId": 1,
    "OriginInstantMessageThreadDeletedBy": 1,
    "OriginInstantMessageThreadName": "sample string 31",
    "ChildMessage": {
      "MessageId": 1,
      "MessageThreadId": 2,
      "InstantMessageThreadId": 3,
      "MessageThreadParticipants": [
        {
          "PersonId": 1,
          "Name": "sample string 1",
          "AvatarUrl": "sample string 2",
          "LocationType": 1,
          "LocationId": 1
        },
        {
          "PersonId": 1,
          "Name": "sample string 1",
          "AvatarUrl": "sample string 2",
          "LocationType": 1,
          "LocationId": 1
        }
      ],
      "Created": "2025-06-16T20:46:06Z",
      "CreatedFormatted": "sample string 5",
      "CreatedRelative": "sample string 6",
      "EditedRelative": "sample string 7",
      "CreatedBy": 8,
      "CreatedByName": "sample string 9",
      "HomeOrganization": "sample string 10",
      "CreatedByAvatar": "sample string 11",
      "Text": "sample string 12",
      "AttachmentUrl": "sample string 13",
      "AttachmentName": "sample string 14",
      "Link": "sample string 15",
      "LinkTitle": "sample string 16",
      "LinkTarget": "sample string 17",
      "IsSystemMessage": true,
      "IsDeleted": true,
      "DeletedBy": 20,
      "CanDelete": true,
      "IsEdited": true,
      "CanEdit": true,
      "IsStarred": true,
      "IsSilent": true,
      "IsAbuse": true,
      "HasShared": true,
      "HasRepliedTo": true,
      "HasAbuseReported": true,
      "HasAbuseThreadReported": true,
      "OriginInstantMessage": null,
      "OriginInstantMessageThreadId": 1,
      "OriginInstantMessageThreadDeletedBy": 1,
      "OriginInstantMessageThreadName": "sample string 31",
      "ChildMessage": null,
      "AdditionalHeading": "sample string 32",
      "IsBroadcastMassMessage": true,
      "IsChildMessageDeletedPermanently": true,
      "CreatedLocal": "2025-06-16T20:46:06Z",
      "CreatedLocalTimeStamp": "sample string 36",
      "CreatedLocalDateStamp": "sample string 37",
      "CreatedByShortName": "sample string 38",
      "CreatedLocalShortNumericDate": "sample string 39"
    },
    "AdditionalHeading": "sample string 32",
    "IsBroadcastMassMessage": true,
    "IsChildMessageDeletedPermanently": true,
    "CreatedLocal": "2025-06-16T20:46:06Z",
    "CreatedLocalTimeStamp": "sample string 36",
    "CreatedLocalDateStamp": "sample string 37",
    "CreatedByShortName": "sample string 38",
    "CreatedLocalShortNumericDate": "sample string 39"
  },
  "MatchingMessageIds": [
    1,
    2
  ],
  "Participants": [
    {
      "SourceLocationId": 1,
      "SourceLocationType": 1,
      "IsDeleted": true,
      "CanReceive": true,
      "RoleInHierarchyTitle": "sample string 3",
      "RoleInHierarchy": 0,
      "ExtraUserInformation": "sample string 4",
      "PersonId": 5,
      "FirstName": "sample string 6",
      "LastName": "sample string 7",
      "FullName": "sample string 8",
      "ProfileUrl": "sample string 9",
      "AdditionalInfo": "sample string 10",
      "ProfileImageUrl": "sample string 11",
      "ProfileImageUrlSmall": "sample string 12"
    },
    {
      "SourceLocationId": 1,
      "SourceLocationType": 1,
      "IsDeleted": true,
      "CanReceive": true,
      "RoleInHierarchyTitle": "sample string 3",
      "RoleInHierarchy": 0,
      "ExtraUserInformation": "sample string 4",
      "PersonId": 5,
      "FirstName": "sample string 6",
      "LastName": "sample string 7",
      "FullName": "sample string 8",
      "ProfileUrl": "sample string 9",
      "AdditionalInfo": "sample string 10",
      "ProfileImageUrl": "sample string 11",
      "ProfileImageUrlSmall": "sample string 12"
    }
  ],
  "ParticipantsCount": 8,
  "HasActiveParticipants": true,
  "HasInactiveParticipants": true,
  "NumberOfInactiveParticipants": 11,
  "InactiveParticipantFullName": "sample string 12",
  "HasCreatorInThread": true,
  "IsCurrentUserARecipientWithSourceLocation": true,
  "LocationRecipients": [
    {
      "LocationRecipientId": 1,
      "Type": 1,
      "Title": "sample string 2",
      "ColorSchema": "sample string 3"
    },
    {
      "LocationRecipientId": 1,
      "Type": 1,
      "Title": "sample string 2",
      "ColorSchema": "sample string 3"
    }
  ],
  "CanShowParticipantsPage": true,
  "LastReadInstantMessageId": 1,
  "SortIndex": 1,
  "OnlyThreadAdminCanSendToThread": true,
  "IsThreadAdministrator": true,
  "IsThreadModerator": true,
  "InstantMessageLocationId": 1,
  "IsBlocked": true,
  "UserAllowToBlockThread": true,
  "IsAbuse": true,
  "IsAbuseReportedByCurrentUser": true,
  "MassMessageType": 1,
  "Tooltip": "sample string 23",
  "CanDelete": true
}

application/xml, text/xml

Sample:
<InstantMessageThread xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities">
  <CanDelete>true</CanDelete>
  <CanShowParticipantsPage>true</CanShowParticipantsPage>
  <ColorSchema>sample string 7</ColorSchema>
  <Created>2025-06-16T20:46:06Z</Created>
  <CreatedBy>5</CreatedBy>
  <CreatedByTeacher>true</CreatedByTeacher>
  <HasActiveParticipants>true</HasActiveParticipants>
  <HasCreatorInThread>true</HasCreatorInThread>
  <HasInactiveParticipants>true</HasInactiveParticipants>
  <InactiveParticipantFullName>sample string 12</InactiveParticipantFullName>
  <InstantMessageLocationId>1</InstantMessageLocationId>
  <InstantMessageThreadId>1</InstantMessageThreadId>
  <IsAbuse>true</IsAbuse>
  <IsAbuseReportedByCurrentUser>true</IsAbuseReportedByCurrentUser>
  <IsBlocked>true</IsBlocked>
  <IsCurrentUserARecipientWithSourceLocation>true</IsCurrentUserARecipientWithSourceLocation>
  <IsThreadAdministrator>true</IsThreadAdministrator>
  <IsThreadModerator>true</IsThreadModerator>
  <LastReadInstantMessageId>1</LastReadInstantMessageId>
  <LocationRecipients>
    <LocationRecipient>
      <ColorSchema>sample string 3</ColorSchema>
      <LocationRecipientId>1</LocationRecipientId>
      <Title>sample string 2</Title>
      <Type>Course</Type>
    </LocationRecipient>
    <LocationRecipient>
      <ColorSchema>sample string 3</ColorSchema>
      <LocationRecipientId>1</LocationRecipientId>
      <Title>sample string 2</Title>
      <Type>Course</Type>
    </LocationRecipient>
  </LocationRecipients>
  <MassMessageType>None</MassMessageType>
  <MatchingMessageIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </MatchingMessageIds>
  <Messages>
    <CurrentPageIndex xmlns="">2</CurrentPageIndex>
    <EntityArray xmlns:d3p1="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities" xmlns="">
      <d3p1:InstantMessage>
        <d3p1:AdditionalHeading>sample string 32</d3p1:AdditionalHeading>
        <d3p1:AttachmentName>sample string 14</d3p1:AttachmentName>
        <d3p1:AttachmentUrl>sample string 13</d3p1:AttachmentUrl>
        <d3p1:CanDelete>true</d3p1:CanDelete>
        <d3p1:CanEdit>true</d3p1:CanEdit>
        <d3p1:ChildMessage>
          <d3p1:AdditionalHeading>sample string 32</d3p1:AdditionalHeading>
          <d3p1:AttachmentName>sample string 14</d3p1:AttachmentName>
          <d3p1:AttachmentUrl>sample string 13</d3p1:AttachmentUrl>
          <d3p1:CanDelete>true</d3p1:CanDelete>
          <d3p1:CanEdit>true</d3p1:CanEdit>
          <d3p1:ChildMessage i:nil="true" />
          <d3p1:Created>2025-06-16T20:46:06Z</d3p1:Created>
          <d3p1:CreatedBy>8</d3p1:CreatedBy>
          <d3p1:CreatedByAvatar>sample string 11</d3p1:CreatedByAvatar>
          <d3p1:CreatedByName>sample string 9</d3p1:CreatedByName>
          <d3p1:CreatedByShortName>sample string 38</d3p1:CreatedByShortName>
          <d3p1:CreatedFormatted>sample string 5</d3p1:CreatedFormatted>
          <d3p1:CreatedLocal>2025-06-16T20:46:06Z</d3p1:CreatedLocal>
          <d3p1:CreatedLocalDateStamp>sample string 37</d3p1:CreatedLocalDateStamp>
          <d3p1:CreatedLocalShortNumericDate>sample string 39</d3p1:CreatedLocalShortNumericDate>
          <d3p1:CreatedLocalTimeStamp>sample string 36</d3p1:CreatedLocalTimeStamp>
          <d3p1:CreatedRelative>sample string 6</d3p1:CreatedRelative>
          <d3p1:DeletedBy>20</d3p1:DeletedBy>
          <d3p1:EditedRelative>sample string 7</d3p1:EditedRelative>
          <d3p1:HasAbuseReported>true</d3p1:HasAbuseReported>
          <d3p1:HasAbuseThreadReported>true</d3p1:HasAbuseThreadReported>
          <d3p1:HasRepliedTo>true</d3p1:HasRepliedTo>
          <d3p1:HasShared>true</d3p1:HasShared>
          <d3p1:HomeOrganization>sample string 10</d3p1:HomeOrganization>
          <d3p1:InstantMessageThreadId>3</d3p1:InstantMessageThreadId>
          <d3p1:IsAbuse>true</d3p1:IsAbuse>
          <d3p1:IsBroadcastMassMessage>true</d3p1:IsBroadcastMassMessage>
          <d3p1:IsChildMessageDeletedPermanently>true</d3p1:IsChildMessageDeletedPermanently>
          <d3p1:IsDeleted>true</d3p1:IsDeleted>
          <d3p1:IsEdited>true</d3p1:IsEdited>
          <d3p1:IsSilent>true</d3p1:IsSilent>
          <d3p1:IsStarred>true</d3p1:IsStarred>
          <d3p1:IsSystemMessage>true</d3p1:IsSystemMessage>
          <d3p1:Link>sample string 15</d3p1:Link>
          <d3p1:LinkTarget>sample string 17</d3p1:LinkTarget>
          <d3p1:LinkTitle>sample string 16</d3p1:LinkTitle>
          <d3p1:MessageId>1</d3p1:MessageId>
          <d3p1:MessageThreadId>2</d3p1:MessageThreadId>
          <d3p1:MessageThreadParticipants>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
          </d3p1:MessageThreadParticipants>
          <d3p1:OriginInstantMessage i:nil="true" />
          <d3p1:OriginInstantMessageThreadDeletedBy>1</d3p1:OriginInstantMessageThreadDeletedBy>
          <d3p1:OriginInstantMessageThreadId>1</d3p1:OriginInstantMessageThreadId>
          <d3p1:OriginInstantMessageThreadName>sample string 31</d3p1:OriginInstantMessageThreadName>
          <d3p1:Text>sample string 12</d3p1:Text>
        </d3p1:ChildMessage>
        <d3p1:Created>2025-06-16T20:46:06Z</d3p1:Created>
        <d3p1:CreatedBy>8</d3p1:CreatedBy>
        <d3p1:CreatedByAvatar>sample string 11</d3p1:CreatedByAvatar>
        <d3p1:CreatedByName>sample string 9</d3p1:CreatedByName>
        <d3p1:CreatedByShortName>sample string 38</d3p1:CreatedByShortName>
        <d3p1:CreatedFormatted>sample string 5</d3p1:CreatedFormatted>
        <d3p1:CreatedLocal>2025-06-16T20:46:06Z</d3p1:CreatedLocal>
        <d3p1:CreatedLocalDateStamp>sample string 37</d3p1:CreatedLocalDateStamp>
        <d3p1:CreatedLocalShortNumericDate>sample string 39</d3p1:CreatedLocalShortNumericDate>
        <d3p1:CreatedLocalTimeStamp>sample string 36</d3p1:CreatedLocalTimeStamp>
        <d3p1:CreatedRelative>sample string 6</d3p1:CreatedRelative>
        <d3p1:DeletedBy>20</d3p1:DeletedBy>
        <d3p1:EditedRelative>sample string 7</d3p1:EditedRelative>
        <d3p1:HasAbuseReported>true</d3p1:HasAbuseReported>
        <d3p1:HasAbuseThreadReported>true</d3p1:HasAbuseThreadReported>
        <d3p1:HasRepliedTo>true</d3p1:HasRepliedTo>
        <d3p1:HasShared>true</d3p1:HasShared>
        <d3p1:HomeOrganization>sample string 10</d3p1:HomeOrganization>
        <d3p1:InstantMessageThreadId>3</d3p1:InstantMessageThreadId>
        <d3p1:IsAbuse>true</d3p1:IsAbuse>
        <d3p1:IsBroadcastMassMessage>true</d3p1:IsBroadcastMassMessage>
        <d3p1:IsChildMessageDeletedPermanently>true</d3p1:IsChildMessageDeletedPermanently>
        <d3p1:IsDeleted>true</d3p1:IsDeleted>
        <d3p1:IsEdited>true</d3p1:IsEdited>
        <d3p1:IsSilent>true</d3p1:IsSilent>
        <d3p1:IsStarred>true</d3p1:IsStarred>
        <d3p1:IsSystemMessage>true</d3p1:IsSystemMessage>
        <d3p1:Link>sample string 15</d3p1:Link>
        <d3p1:LinkTarget>sample string 17</d3p1:LinkTarget>
        <d3p1:LinkTitle>sample string 16</d3p1:LinkTitle>
        <d3p1:MessageId>1</d3p1:MessageId>
        <d3p1:MessageThreadId>2</d3p1:MessageThreadId>
        <d3p1:MessageThreadParticipants>
          <d3p1:InstantMessageParticipant>
            <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
            <d3p1:LocationId>1</d3p1:LocationId>
            <d3p1:LocationType>1</d3p1:LocationType>
            <d3p1:Name>sample string 1</d3p1:Name>
            <d3p1:PersonId>1</d3p1:PersonId>
          </d3p1:InstantMessageParticipant>
          <d3p1:InstantMessageParticipant>
            <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
            <d3p1:LocationId>1</d3p1:LocationId>
            <d3p1:LocationType>1</d3p1:LocationType>
            <d3p1:Name>sample string 1</d3p1:Name>
            <d3p1:PersonId>1</d3p1:PersonId>
          </d3p1:InstantMessageParticipant>
        </d3p1:MessageThreadParticipants>
        <d3p1:OriginInstantMessage>
          <d3p1:AdditionalHeading>sample string 32</d3p1:AdditionalHeading>
          <d3p1:AttachmentName>sample string 14</d3p1:AttachmentName>
          <d3p1:AttachmentUrl>sample string 13</d3p1:AttachmentUrl>
          <d3p1:CanDelete>true</d3p1:CanDelete>
          <d3p1:CanEdit>true</d3p1:CanEdit>
          <d3p1:ChildMessage i:nil="true" />
          <d3p1:Created>2025-06-16T20:46:06Z</d3p1:Created>
          <d3p1:CreatedBy>8</d3p1:CreatedBy>
          <d3p1:CreatedByAvatar>sample string 11</d3p1:CreatedByAvatar>
          <d3p1:CreatedByName>sample string 9</d3p1:CreatedByName>
          <d3p1:CreatedByShortName>sample string 38</d3p1:CreatedByShortName>
          <d3p1:CreatedFormatted>sample string 5</d3p1:CreatedFormatted>
          <d3p1:CreatedLocal>2025-06-16T20:46:06Z</d3p1:CreatedLocal>
          <d3p1:CreatedLocalDateStamp>sample string 37</d3p1:CreatedLocalDateStamp>
          <d3p1:CreatedLocalShortNumericDate>sample string 39</d3p1:CreatedLocalShortNumericDate>
          <d3p1:CreatedLocalTimeStamp>sample string 36</d3p1:CreatedLocalTimeStamp>
          <d3p1:CreatedRelative>sample string 6</d3p1:CreatedRelative>
          <d3p1:DeletedBy>20</d3p1:DeletedBy>
          <d3p1:EditedRelative>sample string 7</d3p1:EditedRelative>
          <d3p1:HasAbuseReported>true</d3p1:HasAbuseReported>
          <d3p1:HasAbuseThreadReported>true</d3p1:HasAbuseThreadReported>
          <d3p1:HasRepliedTo>true</d3p1:HasRepliedTo>
          <d3p1:HasShared>true</d3p1:HasShared>
          <d3p1:HomeOrganization>sample string 10</d3p1:HomeOrganization>
          <d3p1:InstantMessageThreadId>3</d3p1:InstantMessageThreadId>
          <d3p1:IsAbuse>true</d3p1:IsAbuse>
          <d3p1:IsBroadcastMassMessage>true</d3p1:IsBroadcastMassMessage>
          <d3p1:IsChildMessageDeletedPermanently>true</d3p1:IsChildMessageDeletedPermanently>
          <d3p1:IsDeleted>true</d3p1:IsDeleted>
          <d3p1:IsEdited>true</d3p1:IsEdited>
          <d3p1:IsSilent>true</d3p1:IsSilent>
          <d3p1:IsStarred>true</d3p1:IsStarred>
          <d3p1:IsSystemMessage>true</d3p1:IsSystemMessage>
          <d3p1:Link>sample string 15</d3p1:Link>
          <d3p1:LinkTarget>sample string 17</d3p1:LinkTarget>
          <d3p1:LinkTitle>sample string 16</d3p1:LinkTitle>
          <d3p1:MessageId>1</d3p1:MessageId>
          <d3p1:MessageThreadId>2</d3p1:MessageThreadId>
          <d3p1:MessageThreadParticipants>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
          </d3p1:MessageThreadParticipants>
          <d3p1:OriginInstantMessage i:nil="true" />
          <d3p1:OriginInstantMessageThreadDeletedBy>1</d3p1:OriginInstantMessageThreadDeletedBy>
          <d3p1:OriginInstantMessageThreadId>1</d3p1:OriginInstantMessageThreadId>
          <d3p1:OriginInstantMessageThreadName>sample string 31</d3p1:OriginInstantMessageThreadName>
          <d3p1:Text>sample string 12</d3p1:Text>
        </d3p1:OriginInstantMessage>
        <d3p1:OriginInstantMessageThreadDeletedBy>1</d3p1:OriginInstantMessageThreadDeletedBy>
        <d3p1:OriginInstantMessageThreadId>1</d3p1:OriginInstantMessageThreadId>
        <d3p1:OriginInstantMessageThreadName>sample string 31</d3p1:OriginInstantMessageThreadName>
        <d3p1:Text>sample string 12</d3p1:Text>
      </d3p1:InstantMessage>
      <d3p1:InstantMessage>
        <d3p1:AdditionalHeading>sample string 32</d3p1:AdditionalHeading>
        <d3p1:AttachmentName>sample string 14</d3p1:AttachmentName>
        <d3p1:AttachmentUrl>sample string 13</d3p1:AttachmentUrl>
        <d3p1:CanDelete>true</d3p1:CanDelete>
        <d3p1:CanEdit>true</d3p1:CanEdit>
        <d3p1:ChildMessage>
          <d3p1:AdditionalHeading>sample string 32</d3p1:AdditionalHeading>
          <d3p1:AttachmentName>sample string 14</d3p1:AttachmentName>
          <d3p1:AttachmentUrl>sample string 13</d3p1:AttachmentUrl>
          <d3p1:CanDelete>true</d3p1:CanDelete>
          <d3p1:CanEdit>true</d3p1:CanEdit>
          <d3p1:ChildMessage i:nil="true" />
          <d3p1:Created>2025-06-16T20:46:06Z</d3p1:Created>
          <d3p1:CreatedBy>8</d3p1:CreatedBy>
          <d3p1:CreatedByAvatar>sample string 11</d3p1:CreatedByAvatar>
          <d3p1:CreatedByName>sample string 9</d3p1:CreatedByName>
          <d3p1:CreatedByShortName>sample string 38</d3p1:CreatedByShortName>
          <d3p1:CreatedFormatted>sample string 5</d3p1:CreatedFormatted>
          <d3p1:CreatedLocal>2025-06-16T20:46:06Z</d3p1:CreatedLocal>
          <d3p1:CreatedLocalDateStamp>sample string 37</d3p1:CreatedLocalDateStamp>
          <d3p1:CreatedLocalShortNumericDate>sample string 39</d3p1:CreatedLocalShortNumericDate>
          <d3p1:CreatedLocalTimeStamp>sample string 36</d3p1:CreatedLocalTimeStamp>
          <d3p1:CreatedRelative>sample string 6</d3p1:CreatedRelative>
          <d3p1:DeletedBy>20</d3p1:DeletedBy>
          <d3p1:EditedRelative>sample string 7</d3p1:EditedRelative>
          <d3p1:HasAbuseReported>true</d3p1:HasAbuseReported>
          <d3p1:HasAbuseThreadReported>true</d3p1:HasAbuseThreadReported>
          <d3p1:HasRepliedTo>true</d3p1:HasRepliedTo>
          <d3p1:HasShared>true</d3p1:HasShared>
          <d3p1:HomeOrganization>sample string 10</d3p1:HomeOrganization>
          <d3p1:InstantMessageThreadId>3</d3p1:InstantMessageThreadId>
          <d3p1:IsAbuse>true</d3p1:IsAbuse>
          <d3p1:IsBroadcastMassMessage>true</d3p1:IsBroadcastMassMessage>
          <d3p1:IsChildMessageDeletedPermanently>true</d3p1:IsChildMessageDeletedPermanently>
          <d3p1:IsDeleted>true</d3p1:IsDeleted>
          <d3p1:IsEdited>true</d3p1:IsEdited>
          <d3p1:IsSilent>true</d3p1:IsSilent>
          <d3p1:IsStarred>true</d3p1:IsStarred>
          <d3p1:IsSystemMessage>true</d3p1:IsSystemMessage>
          <d3p1:Link>sample string 15</d3p1:Link>
          <d3p1:LinkTarget>sample string 17</d3p1:LinkTarget>
          <d3p1:LinkTitle>sample string 16</d3p1:LinkTitle>
          <d3p1:MessageId>1</d3p1:MessageId>
          <d3p1:MessageThreadId>2</d3p1:MessageThreadId>
          <d3p1:MessageThreadParticipants>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
          </d3p1:MessageThreadParticipants>
          <d3p1:OriginInstantMessage i:nil="true" />
          <d3p1:OriginInstantMessageThreadDeletedBy>1</d3p1:OriginInstantMessageThreadDeletedBy>
          <d3p1:OriginInstantMessageThreadId>1</d3p1:OriginInstantMessageThreadId>
          <d3p1:OriginInstantMessageThreadName>sample string 31</d3p1:OriginInstantMessageThreadName>
          <d3p1:Text>sample string 12</d3p1:Text>
        </d3p1:ChildMessage>
        <d3p1:Created>2025-06-16T20:46:06Z</d3p1:Created>
        <d3p1:CreatedBy>8</d3p1:CreatedBy>
        <d3p1:CreatedByAvatar>sample string 11</d3p1:CreatedByAvatar>
        <d3p1:CreatedByName>sample string 9</d3p1:CreatedByName>
        <d3p1:CreatedByShortName>sample string 38</d3p1:CreatedByShortName>
        <d3p1:CreatedFormatted>sample string 5</d3p1:CreatedFormatted>
        <d3p1:CreatedLocal>2025-06-16T20:46:06Z</d3p1:CreatedLocal>
        <d3p1:CreatedLocalDateStamp>sample string 37</d3p1:CreatedLocalDateStamp>
        <d3p1:CreatedLocalShortNumericDate>sample string 39</d3p1:CreatedLocalShortNumericDate>
        <d3p1:CreatedLocalTimeStamp>sample string 36</d3p1:CreatedLocalTimeStamp>
        <d3p1:CreatedRelative>sample string 6</d3p1:CreatedRelative>
        <d3p1:DeletedBy>20</d3p1:DeletedBy>
        <d3p1:EditedRelative>sample string 7</d3p1:EditedRelative>
        <d3p1:HasAbuseReported>true</d3p1:HasAbuseReported>
        <d3p1:HasAbuseThreadReported>true</d3p1:HasAbuseThreadReported>
        <d3p1:HasRepliedTo>true</d3p1:HasRepliedTo>
        <d3p1:HasShared>true</d3p1:HasShared>
        <d3p1:HomeOrganization>sample string 10</d3p1:HomeOrganization>
        <d3p1:InstantMessageThreadId>3</d3p1:InstantMessageThreadId>
        <d3p1:IsAbuse>true</d3p1:IsAbuse>
        <d3p1:IsBroadcastMassMessage>true</d3p1:IsBroadcastMassMessage>
        <d3p1:IsChildMessageDeletedPermanently>true</d3p1:IsChildMessageDeletedPermanently>
        <d3p1:IsDeleted>true</d3p1:IsDeleted>
        <d3p1:IsEdited>true</d3p1:IsEdited>
        <d3p1:IsSilent>true</d3p1:IsSilent>
        <d3p1:IsStarred>true</d3p1:IsStarred>
        <d3p1:IsSystemMessage>true</d3p1:IsSystemMessage>
        <d3p1:Link>sample string 15</d3p1:Link>
        <d3p1:LinkTarget>sample string 17</d3p1:LinkTarget>
        <d3p1:LinkTitle>sample string 16</d3p1:LinkTitle>
        <d3p1:MessageId>1</d3p1:MessageId>
        <d3p1:MessageThreadId>2</d3p1:MessageThreadId>
        <d3p1:MessageThreadParticipants>
          <d3p1:InstantMessageParticipant>
            <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
            <d3p1:LocationId>1</d3p1:LocationId>
            <d3p1:LocationType>1</d3p1:LocationType>
            <d3p1:Name>sample string 1</d3p1:Name>
            <d3p1:PersonId>1</d3p1:PersonId>
          </d3p1:InstantMessageParticipant>
          <d3p1:InstantMessageParticipant>
            <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
            <d3p1:LocationId>1</d3p1:LocationId>
            <d3p1:LocationType>1</d3p1:LocationType>
            <d3p1:Name>sample string 1</d3p1:Name>
            <d3p1:PersonId>1</d3p1:PersonId>
          </d3p1:InstantMessageParticipant>
        </d3p1:MessageThreadParticipants>
        <d3p1:OriginInstantMessage>
          <d3p1:AdditionalHeading>sample string 32</d3p1:AdditionalHeading>
          <d3p1:AttachmentName>sample string 14</d3p1:AttachmentName>
          <d3p1:AttachmentUrl>sample string 13</d3p1:AttachmentUrl>
          <d3p1:CanDelete>true</d3p1:CanDelete>
          <d3p1:CanEdit>true</d3p1:CanEdit>
          <d3p1:ChildMessage i:nil="true" />
          <d3p1:Created>2025-06-16T20:46:06Z</d3p1:Created>
          <d3p1:CreatedBy>8</d3p1:CreatedBy>
          <d3p1:CreatedByAvatar>sample string 11</d3p1:CreatedByAvatar>
          <d3p1:CreatedByName>sample string 9</d3p1:CreatedByName>
          <d3p1:CreatedByShortName>sample string 38</d3p1:CreatedByShortName>
          <d3p1:CreatedFormatted>sample string 5</d3p1:CreatedFormatted>
          <d3p1:CreatedLocal>2025-06-16T20:46:06Z</d3p1:CreatedLocal>
          <d3p1:CreatedLocalDateStamp>sample string 37</d3p1:CreatedLocalDateStamp>
          <d3p1:CreatedLocalShortNumericDate>sample string 39</d3p1:CreatedLocalShortNumericDate>
          <d3p1:CreatedLocalTimeStamp>sample string 36</d3p1:CreatedLocalTimeStamp>
          <d3p1:CreatedRelative>sample string 6</d3p1:CreatedRelative>
          <d3p1:DeletedBy>20</d3p1:DeletedBy>
          <d3p1:EditedRelative>sample string 7</d3p1:EditedRelative>
          <d3p1:HasAbuseReported>true</d3p1:HasAbuseReported>
          <d3p1:HasAbuseThreadReported>true</d3p1:HasAbuseThreadReported>
          <d3p1:HasRepliedTo>true</d3p1:HasRepliedTo>
          <d3p1:HasShared>true</d3p1:HasShared>
          <d3p1:HomeOrganization>sample string 10</d3p1:HomeOrganization>
          <d3p1:InstantMessageThreadId>3</d3p1:InstantMessageThreadId>
          <d3p1:IsAbuse>true</d3p1:IsAbuse>
          <d3p1:IsBroadcastMassMessage>true</d3p1:IsBroadcastMassMessage>
          <d3p1:IsChildMessageDeletedPermanently>true</d3p1:IsChildMessageDeletedPermanently>
          <d3p1:IsDeleted>true</d3p1:IsDeleted>
          <d3p1:IsEdited>true</d3p1:IsEdited>
          <d3p1:IsSilent>true</d3p1:IsSilent>
          <d3p1:IsStarred>true</d3p1:IsStarred>
          <d3p1:IsSystemMessage>true</d3p1:IsSystemMessage>
          <d3p1:Link>sample string 15</d3p1:Link>
          <d3p1:LinkTarget>sample string 17</d3p1:LinkTarget>
          <d3p1:LinkTitle>sample string 16</d3p1:LinkTitle>
          <d3p1:MessageId>1</d3p1:MessageId>
          <d3p1:MessageThreadId>2</d3p1:MessageThreadId>
          <d3p1:MessageThreadParticipants>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
            <d3p1:InstantMessageParticipant>
              <d3p1:AvatarUrl>sample string 2</d3p1:AvatarUrl>
              <d3p1:LocationId>1</d3p1:LocationId>
              <d3p1:LocationType>1</d3p1:LocationType>
              <d3p1:Name>sample string 1</d3p1:Name>
              <d3p1:PersonId>1</d3p1:PersonId>
            </d3p1:InstantMessageParticipant>
          </d3p1:MessageThreadParticipants>
          <d3p1:OriginInstantMessage i:nil="true" />
          <d3p1:OriginInstantMessageThreadDeletedBy>1</d3p1:OriginInstantMessageThreadDeletedBy>
          <d3p1:OriginInstantMessageThreadId>1</d3p1:OriginInstantMessageThreadId>
          <d3p1:OriginInstantMessageThreadName>sample string 31</d3p1:OriginInstantMessageThreadName>
          <d3p1:Text>sample string 12</d3p1:Text>
        </d3p1:OriginInstantMessage>
        <d3p1:OriginInstantMessageThreadDeletedBy>1</d3p1:OriginInstantMessageThreadDeletedBy>
        <d3p1:OriginInstantMessageThreadId>1</d3p1:OriginInstantMessageThreadId>
        <d3p1:OriginInstantMessageThreadName>sample string 31</d3p1:OriginInstantMessageThreadName>
        <d3p1:Text>sample string 12</d3p1:Text>
      </d3p1:InstantMessage>
    </EntityArray>
    <PageSize xmlns="">3</PageSize>
    <Total xmlns="">1</Total>
  </Messages>
  <Name>sample string 2</Name>
  <NumberOfInactiveParticipants>11</NumberOfInactiveParticipants>
  <OnlyThreadAdminCanSendToThread>true</OnlyThreadAdminCanSendToThread>
  <Participants>
    <ThreadParticipant xmlns="">
      <AdditionalInfo>sample string 10</AdditionalInfo>
      <FirstName>sample string 6</FirstName>
      <FullName>sample string 8</FullName>
      <LastName>sample string 7</LastName>
      <PersonId>5</PersonId>
      <ProfileImageUrl>sample string 11</ProfileImageUrl>
      <ProfileImageUrlSmall>sample string 12</ProfileImageUrlSmall>
      <ProfileUrl>sample string 9</ProfileUrl>
      <CanReceive>true</CanReceive>
      <ExtraUserInformation>sample string 4</ExtraUserInformation>
      <IsDeleted>true</IsDeleted>
      <RoleInHierarchy>None</RoleInHierarchy>
      <RoleInHierarchyTitle>sample string 3</RoleInHierarchyTitle>
      <SourceLocationId>1</SourceLocationId>
      <SourceLocationType>Course</SourceLocationType>
    </ThreadParticipant>
    <ThreadParticipant xmlns="">
      <AdditionalInfo>sample string 10</AdditionalInfo>
      <FirstName>sample string 6</FirstName>
      <FullName>sample string 8</FullName>
      <LastName>sample string 7</LastName>
      <PersonId>5</PersonId>
      <ProfileImageUrl>sample string 11</ProfileImageUrl>
      <ProfileImageUrlSmall>sample string 12</ProfileImageUrlSmall>
      <ProfileUrl>sample string 9</ProfileUrl>
      <CanReceive>true</CanReceive>
      <ExtraUserInformation>sample string 4</ExtraUserInformation>
      <IsDeleted>true</IsDeleted>
      <RoleInHierarchy>None</RoleInHierarchy>
      <RoleInHierarchyTitle>sample string 3</RoleInHierarchyTitle>
      <SourceLocationId>1</SourceLocationId>
      <SourceLocationType>Course</SourceLocationType>
    </ThreadParticipant>
  </Participants>
  <ParticipantsCount>8</ParticipantsCount>
  <SortIndex>1</SortIndex>
  <Tooltip>sample string 23</Tooltip>
  <Type>sample string 6</Type>
  <UserAllowToBlockThread>true</UserAllowToBlockThread>
</InstantMessageThread>