[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Apps Chat V1 Client - Class HistoryState (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Chat.V1.HistoryState)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Chat.V1.HistoryState)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Chat.V1.HistoryState)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Chat.V1.HistoryState)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Chat.V1.HistoryState)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Chat.V1.HistoryState)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Chat.V1.HistoryState)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Chat.V1.HistoryState)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Chat.V1.HistoryState)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Chat.V1.HistoryState)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Chat.V1.HistoryState)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Chat.V1.HistoryState) \nReference documentation and code samples for the Google Apps Chat V1 Client class HistoryState.\n\nThe history state for messages and spaces. Specifies how long messages and\nconversation threads are kept after creation.\n\nProtobuf type `google.chat.v1.HistoryState`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Chat \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### HISTORY_STATE_UNSPECIFIED\n\n Value: 0\n\nDefault value. Do not use.\n\nGenerated from protobuf enum `HISTORY_STATE_UNSPECIFIED = 0;`\n\n### HISTORY_OFF\n\n Value: 1\n\nHistory off. [Messages and threads are kept for 24\nhours](https://support.google.com/chat/answer/7664687).\n\nGenerated from protobuf enum `HISTORY_OFF = 1;`\n\n### HISTORY_ON\n\n Value: 2\n\nHistory on. The organization's [Vault retention\nrules](https://support.google.com/vault/answer/7657597) specify for\nhow long messages and threads are kept.\n\nGenerated from protobuf enum `HISTORY_ON = 2;`"]]