Skip to content

Conversation

@otkach-text
Copy link
Collaborator

Release requirements

⚠️ To merge your pull request, all changes must be approved by @oliwiapolec. After your feature is live on production, DM Oliwia on Slack to release the documentation. Avoid merging the changes yourself.

PR information

What does this PR do? (optional)

Type of change

  • Update
  • New feature
  • Fix

Deploy preview

The deploy preview link will appear in the checks section below once the build is complete.

Versioning

Pull request titles should comply with the Conventional Commits specification. This is required to update the project's version.

@otkach-text otkach-text requested a review from a team as a code owner November 19, 2025 11:00
Copy link
Collaborator

@oliwiapolec oliwiapolec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add info about this to the changelog as well 😌

| ------------ | -------- | ------------ | ----------------------------- |
| `group_id` | Yes | `number` | ID of the group |
| `language` | Yes | `string` | Language identifier |
| `phrases` | Yes | `object[]` | List of phrases to update |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a list of possible fields that can be updated? If we don't we should add it in a similar way like here: https://platform.text.com/docs/management/configuration-api#update-agent


### List Translations

Returns a list of translations.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Returns a list of translations.
Returns a list of chat widget translations.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it return only those that were edited by the user?

| ------------ | -------- | ------------ | ----------------------------- |
| `group_id` | Yes | `number` | ID of the group |
| `language` | Yes | `string` | Language identifier |
| `phrases` | Yes | `object[]` | List of phrases to update |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `phrases` | Yes | `object[]` | List of phrases to update |
| `phrases` | Yes | `object[]` | List of the chat widget phrases to update |

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I've fixed a type to object and I've added a list of examples


| Parameter | Data type | Notes |
| --------------- | ------------ | ------------------- |
| `phrases` | `object[]` | List of phrases |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will edit this note after clarifying what the method returns 🔜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants