doc: fix missed docs of member_permission

This commit is contained in:
oxalica 2024-09-10 12:15:56 -04:00
parent 4f48b390f7
commit 9e96927693
2 changed files with 5 additions and 0 deletions

View file

@ -329,6 +329,8 @@ pub struct RoomMetadata {
/// This may or may not be a precise number.
#[serde(skip_serializing_if = "Option::is_none")]
pub unseen_cnt: Option<u64>,
/// The member permission of current user in the room, or `None` if it is not a member.
/// Only available with authentication.
#[serde(skip_serializing_if = "Option::is_none")]
pub member_permission: Option<MemberPermission>,
}