• Send a private message to someone!

    Parameters

    • this: API
    • user_target: number | User

      The User you wanna send your message to!

    • message: string

      The message you wanna send

    • is_action: boolean = false

      Is it a command? Like /me dances (defaults to false)

    • Optionaluuid: string

      A client-side message identifier

    Returns Promise<{
        channel: Channel;
        message: Message;
    }>

    The message you sent

    "chat.write"

    You don't need to use createChatPrivateChannel before sending a message