Expose new chat settings routes

This commit is contained in:
Clément Renault 2025-05-15 17:40:55 +02:00
parent 77e03e3f8c
commit a52b513023
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
6 changed files with 191 additions and 92 deletions

View file

@ -311,6 +311,12 @@ pub enum Action {
#[serde(rename = "chat.get")]
#[deserr(rename = "chat.get")]
ChatGet,
#[serde(rename = "chatSettings.get")]
#[deserr(rename = "chatSettings.get")]
ChatSettingsGet,
#[serde(rename = "chatSettings.update")]
#[deserr(rename = "chatSettings.update")]
ChatSettingsUpdate,
}
impl Action {
@ -403,4 +409,6 @@ pub mod actions {
pub const NETWORK_UPDATE: u8 = NetworkUpdate.repr();
pub const CHAT_GET: u8 = ChatGet.repr();
pub const CHAT_SETTINGS_GET: u8 = ChatSettingsGet.repr();
pub const CHAT_SETTINGS_UPDATE: u8 = ChatSettingsUpdate.repr();
}