Bingex.User.GenerateListenKeyData (Bingex v0.1.7)

Represents the listen key data for user authentication in BingX.

This module structures and embeds the listen key response from the API, ensuring proper decoding and integration within replies.

Summary

Types

t()

@type t() :: %Bingex.User.GenerateListenKeyData{listen_key: binary()}

Functions

decode(data)

@spec decode(map()) :: {:ok, t()} | :error

embed_in_reply(reply)

@spec embed_in_reply(Bingex.API.Reply.t()) :: Bingex.API.Reply.t(t())