How to get display-name in TimeoutUserstate

When listening to the message(channel: string, userstate: ChatUserstate, message: string, self: boolean): void; event, the returned ChatUserstate object is simple to access using ${userstate['display-name']} . However, in the timeout(channel: string, username: string, reason: string, duration: number, userstate: TimeoutUserstate): void; event, the TimeoutUserstate object does not have a “display-name” field. Is there any way to retrieve the “display-name” in this case?

User the login or userID against the Get Users API.

User the login or userID against the Get Users API.

This successfully solved my problem. Thank you!