slackline/api/entity/present_comments
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
entity.presentComments.
Each setter takes the call that entity.present_comments returns and sets
one argument:
entity.present_comments(comments: comments, trigger_id: "trigger_id")
|> present_comments.cursor("cursor")
Values
pub fn can_post_comment(
call: slackline.Call(entity.PresentComments, r),
can_post_comment: Bool,
) -> slackline.Call(entity.PresentComments, r)
Indicates whether the user has permissions to post comments
pub fn cursor(
call: slackline.Call(entity.PresentComments, r),
cursor: String,
) -> slackline.Call(entity.PresentComments, r)
App supplied cursor used for pagination, will be sent in the next request for comments
pub fn delete_action_id(
call: slackline.Call(entity.PresentComments, r),
delete_action_id: String,
) -> slackline.Call(entity.PresentComments, r)
The block action id that will be sent when a delete request is initiated for a comment.
pub fn error(
call: slackline.Call(entity.PresentComments, r),
error: value.Value,
) -> slackline.Call(entity.PresentComments, r)
Error details.
pub fn user_auth_required(
call: slackline.Call(entity.PresentComments, r),
user_auth_required: Bool,
) -> slackline.Call(entity.PresentComments, r)
Set to true (or 1) to indicate that the user must authenticate to see the
comments data. Defaults to 0.
pub fn user_auth_url(
call: slackline.Call(entity.PresentComments, r),
user_auth_url: String,
) -> slackline.Call(entity.PresentComments, r)
A custom URL to which users are directed for authentication if required.