mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-05-01 00:31:09 +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>,
|
||||
}
|
||||
|
|
|
@ -388,6 +388,9 @@ components:
|
|||
GET `/room?filter=unseen`.
|
||||
type: integer
|
||||
format: uint64
|
||||
member_permission:
|
||||
type: integer
|
||||
format: int64
|
||||
|
||||
RoomMetadata:
|
||||
type: object
|
||||
|
|
Loading…
Add table
Reference in a new issue