slackline/api/entity/present_details
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
entity.presentDetails.
Each setter takes the call that entity.present_details returns and sets
one argument:
entity.present_details(trigger_id: "trigger_id")
|> present_details.metadata(metadata)
Values
pub fn error(
call: slackline.Call(entity.PresentDetails, r),
error: entity.EntityError,
) -> slackline.Call(entity.PresentDetails, r)
Why the entity could not be presented.
pub fn metadata(
call: slackline.Call(entity.PresentDetails, r),
metadata: message.MessageMetadata,
) -> slackline.Call(entity.PresentDetails, r)
Flexpane metadata for the entity: set entity_type and
entity_payload.
pub fn user_auth_required(
call: slackline.Call(entity.PresentDetails, r),
user_auth_required: Bool,
) -> slackline.Call(entity.PresentDetails, r)
Set to true (or 1) to indicate that the user must authenticate to view full
flexpane data. Defaults to 0.
pub fn user_auth_url(
call: slackline.Call(entity.PresentDetails, r),
user_auth_url: String,
) -> slackline.Call(entity.PresentDetails, r)
A custom URL to which users are directed for authentication if required.