pub async fn friendship_search(
        &mut self,
        query: FriendshipSearchQueryFilter,
    ) -> Result<Option<String>, PuppetError> {
        if let Some(phone) = query.phone {
            self.friendship_search_phone(phone).await
        } else if let Some(weixin) = query.weixin {
            self.friendship_search_weixin(weixin).await
        } else {
            Ok(None)
        }
    }
/// Search friendship.
///
/// First search by phone, then search by weixin.
Search friendship.
First search by phone, then search by weixin.
Search friendship . First search by phone then search by weixin .
pub async fn friendship_search(
        &mut self,
        query: FriendshipSearchQueryFilter,
    ) -> Result<Option<String>, PuppetError> {
        if let Some(phone) = query.phone {
            self.friendship_search_phone(phone).await
        } else if let Some(weixin) = query.weixin {
            self.friendship_search_weixin(weixin).await
        } else {
            Ok(None)
        }
    }
pub async fn friendship_search ( & mut self , query : FriendshipSearchQueryFilter , ) -> Result < Option < String > , PuppetError > { if let Some ( phone ) = query . phone { self . friendship_search_phone ( phone ) . await } else if let Some ( weixin ) = query . weixin { self . friendship_search_weixin ( weixin ) . await } else { Ok ( None ) } }
Search friendship.
Search friendship .
&mut self
query
FriendshipSearchQueryFilter
&mut self
query
FriendshipSearchQueryFilter