kitazith/webhook/execute_query

Types

pub type ExecuteQuery {
  ExecuteQuery(
    wait: option.Option(Bool),
    thread_id: option.Option(snowflake.Snowflake),
    with_components: option.Option(Bool),
  )
}

Constructors

Values

pub fn new() -> ExecuteQuery
pub fn to_query(query: ExecuteQuery) -> List(#(String, String))
pub fn with_components(
  query: ExecuteQuery,
  with_components: Bool,
) -> ExecuteQuery
pub fn with_thread_id(
  query: ExecuteQuery,
  thread_id: snowflake.Snowflake,
) -> ExecuteQuery
pub fn with_wait(query: ExecuteQuery, wait: Bool) -> ExecuteQuery
Search Document