pub async fn can_send_message_to_user(
user_id: i64,
only_local: bool,
client_id: i32,
) -> Result<CanSendMessageToUserResult, Error>Expand description
Check whether the current user can message another user or try to create a chat with them
ยงArguments
user_id- Identifier of the other useronly_local- Pass true to get only locally available information without sending network requestsclient_id- The client id to send the request to