---
title: "Changes to Edit chat info"
method: PATCH
path: "/chats/{chatId}"
---

# Changes to Edit chat info

`PATCH /chats/{chatId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 11 of 70 revisions.

- **2021-06-02** `137e3d1e0b4f`: 4 info
- **2021-05-31** `dc45288cfedc`: 6 info
- **2020-11-27** `0cbbb766034b`: 1 breaking
- **2020-04-07** `0d62c3d61a59`: 1 info
- **2020-04-07** `9862f33d4352`: 2 info
- **2020-04-02** `93fb5d18fdf2`: 1 info
- **2020-04-02** `f4ed817ac50f`: 1 info
- **2020-02-11** `6cd9dbaf139d`: 1 info
- **2019-10-31** `d13dc0b9632b`: 1 info
- **2019-10-31** `c695adc9e71a`: 1 info
- **2019-09-17** `0bba95f87478`: 1 info

## Changes

- **2021-06-02** `137e3d1e0b4f`: 4 info
  - added `highlighted` discriminator mapping keys to the `pinned_message/allOf[#/components/schemas/Message]/body/allOf[#/components/schemas/MessageBody]/markup/items/` response property for the response status `200`
  - added `highlighted` discriminator mapping keys to the `pinned_message/allOf[#/components/schemas/Message]/link/allOf[#/components/schemas/LinkedMessage]/message/allOf[#/components/schemas/MessageBody]/markup/items/` response property for the response status `200`
  - removed `code` discriminator mapping keys from the `pinned_message/allOf[#/components/schemas/Message]/body/allOf[#/components/schemas/MessageBody]/markup/items/` response property for the response status `200`
  - removed `code` discriminator mapping keys from the `pinned_message/allOf[#/components/schemas/Message]/link/allOf[#/components/schemas/LinkedMessage]/message/allOf[#/components/schemas/MessageBody]/markup/items/` response property for the response status `200`
- **2021-05-31** `dc45288cfedc`: 6 info
  - added the optional property `pinned_message/allOf[#/components/schemas/Message]/body/allOf[#/components/schemas/MessageBody]/markup` to the response with the `200` status
  - added the optional property `pinned_message/allOf[#/components/schemas/Message]/link/allOf[#/components/schemas/LinkedMessage]/message/allOf[#/components/schemas/MessageBody]/markup` to the response with the `200` status
  - added the required property `dialog_with_user/allOf[#/components/schemas/UserWithPhoto]/allOf[#/components/schemas/User]/last_activity_time` to the response with the `200` status
  - added the required property `pinned_message/allOf[#/components/schemas/Message]/constructor/allOf[#/components/schemas/User]/last_activity_time` to the response with the `200` status
  - added the required property `pinned_message/allOf[#/components/schemas/Message]/link/allOf[#/components/schemas/LinkedMessage]/sender/allOf[#/components/schemas/User]/last_activity_time` to the response with the `200` status
  - added the required property `pinned_message/allOf[#/components/schemas/Message]/sender/allOf[#/components/schemas/User]/last_activity_time` to the response with the `200` status
- **2020-11-27** `0cbbb766034b`: 1 breaking
  - the `description` response's property type changed from no type to `string` for status `200`
- **2020-04-07** `0d62c3d61a59`: 1 info
  - added the optional property `pinned_message` to the response with the `200` status
- **2020-04-07** `9862f33d4352`: 2 info
  - added the new optional request property `notify`
  - added the new optional request property `pin`
- **2020-04-02** `93fb5d18fdf2`: 1 info
  - the response property `dialog_with_user/allOf[#/components/schemas/UserWithPhoto]/allOf[#/components/schemas/User]/is_bot` became required for the status `200`
- **2020-04-02** `f4ed817ac50f`: 1 info
  - added the optional property `dialog_with_user/allOf[#/components/schemas/UserWithPhoto]/allOf[#/components/schemas/User]/is_bot` to the response with the `200` status
- **2020-02-11** `6cd9dbaf139d`: 1 info
  - added the optional property `dialog_with_user/allOf[#/components/schemas/UserWithPhoto]/allOf[subschema #2]/description` to the response with the `200` status
- **2019-10-31** `d13dc0b9632b`: 1 info
  - added the optional property `chat_message_id` to the response with the `200` status
- **2019-10-31** `c695adc9e71a`: 1 info
  - added the optional property `messages_count` to the response with the `200` status
- **2019-09-17** `0bba95f87478`: 1 info
  - added the optional property `dialog_with_user` to the response with the `200` status

---

[Operation](https://skmtc.dev/tamtam/apis/tamtam-bot-api/docs/chats/:chatId/patch.md) - [API](https://skmtc.dev/tamtam/apis/tamtam-bot-api.md) - [Page](https://skmtc.dev/tamtam/apis/tamtam-bot-api/changes/chats/:chatId/patch)
