mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-03 04:55:32 +00:00
doc: fix missed docs of member_permission
This commit is contained in:
parent
4f48b390f7
commit
9e96927693
2 changed files with 5 additions and 0 deletions
|
@ -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>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue