@slack/web-api / EntityPresentCommentsArguments
Interface: EntityPresentCommentsArguments
Defined in: packages/web-api/src/types/request/entity.ts:82
Extends
TokenOverridable
Properties
can_post_comment?
can_post_comment?: boolean;
Defined in: packages/web-api/src/types/request/entity.ts:94
Description
Indicates whether the user has permissions to post comments.
comments
comments: EntityComment[];
Defined in: packages/web-api/src/types/request/entity.ts:88
Description
Array of comments to present to the user. See the comment schema for the full list of properties.
cursor?
cursor?: string;
Defined in: packages/web-api/src/types/request/entity.ts:92
Description
App supplied cursor used for pagination, will be sent in the next request for comments.
delete_action_id?
delete_action_id?: string;
Defined in: packages/web-api/src/types/request/entity.ts:96
Description
The block action id that will be sent when a delete request is initiated for a comment.
error?
error?: object;
Defined in: packages/web-api/src/types/request/entity.ts:102
actions?
actions?: EntityActionButton[];
Description
Set of action buttons to be shown in case of a specific error.
custom_message?
custom_message?: string;
Description
If status is 'custom', you can use this field to provide a message to the client.
custom_title?
custom_title?: string;
Description
If status is 'custom', you can use this field to provide a title to the client.
message_format?
message_format?: string;
Description
String format, eg. 'markdown'.
status
status: string;
Description
Error status indicating why the entity could not be presented.
Description
Error response preventing comments data from being returned.
token?
token?: string;
Defined in: packages/web-api/src/types/request/common.ts:43
Description
Overridable authentication token bearing required scopes.
Inherited from
TokenOverridable.token
trigger_id
trigger_id: string;
Defined in: packages/web-api/src/types/request/entity.ts:90
Description
A reference to the original user action that initiated the request.
user_auth_required?
user_auth_required?: boolean;
Defined in: packages/web-api/src/types/request/entity.ts:98
Description
Set to true (or 1) to indicate that the user must authenticate to see the comments data.
user_auth_url?
user_auth_url?: string;
Defined in: packages/web-api/src/types/request/entity.ts:100
Description
A custom URL to which users are directed for authentication if required.