mirror of
				https://github.com/Blah-IM/blahrs.git
				synced 2025-10-30 18:31:36 +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.
 |     /// This may or may not be a precise number.
 | ||||||
|     #[serde(skip_serializing_if = "Option::is_none")] |     #[serde(skip_serializing_if = "Option::is_none")] | ||||||
|     pub unseen_cnt: Option<u64>, |     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")] |     #[serde(skip_serializing_if = "Option::is_none")] | ||||||
|     pub member_permission: Option<MemberPermission>, |     pub member_permission: Option<MemberPermission>, | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -388,6 +388,9 @@ components: | ||||||
|             GET `/room?filter=unseen`. |             GET `/room?filter=unseen`. | ||||||
|           type: integer |           type: integer | ||||||
|           format: uint64 |           format: uint64 | ||||||
|  |         member_permission: | ||||||
|  |           type: integer | ||||||
|  |           format: int64 | ||||||
| 
 | 
 | ||||||
|     RoomMetadata: |     RoomMetadata: | ||||||
|       type: object |       type: object | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 oxalica
						oxalica