mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-11-04 09:34:04 +00:00 
			
		
		
		
	Return the list of available private conversations
This commit is contained in:
		@@ -16,4 +16,5 @@ pub mod res_find_user_by_virtual_directory;
 | 
			
		||||
pub mod res_find_virtual_directory;
 | 
			
		||||
pub mod res_create_conversation;
 | 
			
		||||
pub mod conversation_api;
 | 
			
		||||
mod legacy_api_bool;
 | 
			
		||||
mod legacy_api_bool;
 | 
			
		||||
pub mod res_find_private_conversations;
 | 
			
		||||
							
								
								
									
										20
									
								
								src/api_data/res_find_private_conversations.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								src/api_data/res_find_private_conversations.rs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
//! Find private conversations result
 | 
			
		||||
//!
 | 
			
		||||
//! @author Pierre Hubert
 | 
			
		||||
 | 
			
		||||
use serde::Serialize;
 | 
			
		||||
 | 
			
		||||
#[derive(Serialize)]
 | 
			
		||||
#[allow(non_snake_case)]
 | 
			
		||||
pub struct ResFindPrivateConversations {
 | 
			
		||||
    conversationsID: Vec<u64>
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
impl ResFindPrivateConversations {
 | 
			
		||||
    /// Construct a new instance of this structure
 | 
			
		||||
    pub fn new(list: Vec<u64>) -> ResFindPrivateConversations {
 | 
			
		||||
        ResFindPrivateConversations {
 | 
			
		||||
            conversationsID: list
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user