How to create a direct channel with id rather than username

I’m trying to create a direct channel where two users can chat however, the user can have multiple accounts each signified by their Id. Therefore is there a way to get a direct channel via id rather than username
Thanks

Hey @DoctorDev,

Welcome to ChatKitty Community!

You can use any unique per ChatKitty chat user property as your ChatKitty username (the name property on a ChatKitty user object), including your application’s account IDs.

From what I understand about your use case, I recommend that you create a ChatKitty user per your user persona. Meaning that a single user in your application can have multiple ChatKitty users associated. By using the persona account ID as the ChatKitty username, you can then create unique direct channels per persona.

I hope that helps.