SYSTEM_MESSAGE_TICKET_GROUP_TRANSFERRED_BY_AGENT leaks too much internal info on its payload

[Problem]
When user chats with a Desk agent (user is using the React UI Kit), and agent performs some actions on a ticket which result in an admin message sent to the user (like the one above), the data attribute contains too much “internal” info.

Things like:
Full groups definition with description and such

            "group":
            {
                "id": 7946,
                "name": "Default team",
                "key": null,
                "project": 7598,
                "createdAt": "2024-07-08T07:18:24.202702Z",
                "createdBy": null,
                "description": "Agents are added to this team as default. You can assign agents to other teams.",
                "memberCount": 0
            },

I’m not sure why we need the ticket object at all as a payload in this case.

[Reproduction Steps]
Example message object:

{
    "_iid": "su-4022773b-feee-4a1a-b2da-yyyyyyy",
    "channelType": "group",
    "messageType": "admin",
    "mentionType": "users",
    "mentionedUsers":
    [],
    "mentionedUserIds":
    [],
    "metaArrays":
    [],
    "extendedMessage":
    {},
    "createdAt": 1724746186984,
    "updatedAt": 0,
    "channelUrl": "sendbird_group_channel_ZZZZZ",
    "data":
    {
        "type": "SYSTEM_MESSAGE_TICKET_GROUP_TRANSFERRED_BY_AGENT",
        "ticket":
        {
            "id": 4535185,
            "project": 0000,
            "channelName": "New Chat",
            "createdAt": "2024-08-22T13:10:41.711891Z",
            "channelUrl": "sendbird_group_channel_265144736_ZZZZZ",
            "closedAt": null,
            "issuedAt": "2024-08-22T13:10:44.413767Z",
            "durationTime": null,
            "pendingTime": null,
            "conversationTime": null,
            "customer":
            {
                "id": 1319019,
                "sendbirdId": "XXXXX-306a-44f3-aba3-YYYYY",
                "project": 7598,
                "createdAt": "2024-07-16T11:33:13.866057Z",
                "displayName": "XXXXX",
                "channelType": "SENDBIRD",
                "photoThumbnailUrl": "",
                "customFields": [],
                "isDeactivated": false,
                "hideTicketsBefore": null
            },
            "status": "UNASSIGNED",
            "closeStatus": "NOT_CLOSED",
            "recentAssignment": null,
            "closeComment": null,
            "info": null,
            "messageCount": 4,
            "lastMessage": "The ticket is transferred from Default team to the Agents team by the platform API.",
            "lastMessageSender": "PLATFORM",
            "lastMessageAt": "2024-08-27T08:07:58.291000Z",
            "lastUserMessageSender": "CUSTOMER",
            "lastUserMessageAt": "2024-08-22T13:10:44.074000Z",
            "lastMessageMembers": "[]",
            "updatedAt": "2024-08-27T08:07:58.402003Z",
            "lastMessageIsRemoved": false,
            "lastMessagePayload": null,
            "firstAssignmentToCloseTime": null,
            "isWip": false,
            "wipUpdatedAt": null,
            "channelType": "SENDBIRD",
            "ticketType": "CUSTOMER_CHAT",
            "facebookPage": null,
            "twitterUser": null,
            "data": "{}",
            "lastSeenAt": 0,
            "group":
            {
                "id": 7946,
                "name": "Default team",
                "key": null,
                "project": 7598,
                "createdAt": "2024-07-08T07:18:24.202702Z",
                "createdBy": null,
                "description": "Agents are added to this team as default. You can assign agents to other teams.",
                "memberCount": 0
            },
            "customFields":[],
            "customerSatisfactionScore": null,
            "customerSatisfactionComment": null,
            "priority": "MEDIUM",
            "priorityValue": 20,
            "instagramUser": null,
            "nexmoAccount": null,
            "firstResponseTime": null,
            "status2": "PENDING",
            "relatedChannels": null,
            "tags":[],
            "lastAssignedAgentId": null,
            "appointedAgent": null,
            "excludedFromClosing": false,
            "excludedFromClosingAt": null,
            "excludedFromClosingBy": null,
            "sendbirdAppId": "XXXXX-D94B-42E6-A08F-YYYYYYYY",
            "calls":[]
        }
    },
    "customType": "SENDBIRD_DESK_ADMIN_MESSAGE_CUSTOM_TYPE",
    "mentionedMessageTemplate": "",
    "parentMessage": null,
    "silent": true,
    "isOperatorMessage": false,
    "threadInfo": null,
    "reactions":[],
    "appleCriticalAlertOptions": null,
    "scheduledInfo": null,
    "suggestedReplies": null,
    "myFeedback": null,
    "myFeedbackStatus": "NOT_APPLICABLE",
    "messageForm": null,
    "_isContinuousMessages": false,
    "_scheduledStatus": null,
    "messageId": 8352090763,
    "parentMessageId": 0,
    "ogMetaData": null,
    "translations":{},
    "message": "The ticket is transferred from Agents to the Default team team by Guy Guy."
}

[Current impact]

  1. Might leak internal data
  2. Huge payload size over the network