Interface WebhookChatMessage
Properties
channel
channel: { allow_channel_wide_mentions: boolean; chatable: { color: null | string; default_list_filter: string; default_top_period: string; default_view: unknown; description: string; description_excerpt: string; description_text: string; has_children: unknown; id: number; minimum_required_tags: number; name: string; navigate_to_first_post_after_read: boolean; notification_level: unknown; num_featured_topics: number; permission: unknown; position: number; post_count: number; read_restricted: boolean; show_subcategory_list: boolean; slug: string; sort_ascending: unknown; sort_order: unknown; subcategory_list_style: string; text_color: null | string; topic_count: number; topic_template: unknown; topic_url: string; uploaded_background: null | string; uploaded_logo: null | string; uploaded_logo_dark: null | string; }; chatable_id: number; chatable_type: string; chatable_url: string; current_user_membership: unknown; description: string; id: number; last_message: BasicChatMessage; memberships_count: number; meta: unknown; slug: string; status: string; threading_enabled: false; title: string; }
Type declaration
-
allow_channel_wide_mentions: boolean
-
Beta
chatable: {
color: null | string;
default_list_filter: string;
default_top_period: string;
default_view: unknown;
description: string;
description_excerpt: string;
description_text: string;
has_children: unknown;
id: number;
minimum_required_tags: number;
name: string;
navigate_to_first_post_after_read: boolean;
notification_level: unknown;
num_featured_topics: number;
permission: unknown;
position: number;
post_count: number;
read_restricted: boolean;
show_subcategory_list: boolean;
slug: string;
sort_ascending: unknown;
sort_order: unknown;
subcategory_list_style: string;
text_color: null | string;
topic_count: number;
topic_template: unknown;
topic_url: string;
uploaded_background: null | string;
uploaded_logo: null | string;
uploaded_logo_dark: null | string;
}
-
color: null | string
-
default_list_filter: string
-
default_top_period: string
-
default_view: unknown
-
description: string
-
description_excerpt: string
-
description_text: string
-
has_children: unknown
-
id: number
-
minimum_required_tags: number
-
name: string
-
navigate_to_first_post_after_read: boolean
-
notification_level: unknown
-
num_featured_topics: number
-
permission: unknown
-
position: number
-
post_count: number
-
read_restricted: boolean
-
show_subcategory_list: boolean
-
slug: string
-
sort_ascending: unknown
-
sort_order: unknown
-
subcategory_list_style: string
-
text_color: null | string
-
topic_count: number
-
topic_template: unknown
-
topic_url: string
-
uploaded_background: null | string
-
uploaded_logo: null | string
-
uploaded_logo_dark: null | string
-
chatable_id: number
-
chatable_type: string
-
chatable_url: string
-
current_user_membership: unknown
-
description: string
-
id: number
-
-
memberships_count: number
-
meta: unknown
-
slug: string
-
status: string
-
threading_enabled: false
-
title: string
message
message: { available_flags: unknown[]; chat_channel_id: string; chat_webhook_event: unknown; cooked: string; created_at: string; deleted_at?: string; deleted_by_id?: number; edited?: boolean; excerpt: string; id: number; in_reply_to?: { chat_webhook_event: unknown; cooked: string; excerpt: string; id: number; user: BasicUser; }; mentioned_users: unknown[]; message: string; uploads: Uploads[]; user: { admin: boolean; avatar_template: string; id: number; moderator: boolean; name: null | string; new_user: boolean; primary_group_name?: string; staff: boolean; status?: { description: string; emoji: string; ends_at: null | string; message_bus_last_id?: number; }; username: string; }; }
Type declaration
-
available_flags: unknown[]
-
chat_channel_id: string
-
chat_webhook_event: unknown
-
cooked: string
-
created_at: string
-
Optional
deleted_at?: string
-
Optional
deleted_by_id?: number
-
Optional
edited?: boolean
-
excerpt: string
-
id: number
-
Optional
in_reply_to?: {
chat_webhook_event: unknown;
cooked: string;
excerpt: string;
id: number;
user: BasicUser;
}
-
chat_webhook_event: unknown
-
cooked: string
-
excerpt: string
-
id: number
-
-
mentioned_users: unknown[]
-
message: string
-
-
user: {
admin: boolean;
avatar_template: string;
id: number;
moderator: boolean;
name: null | string;
new_user: boolean;
primary_group_name?: string;
staff: boolean;
status?: {
description: string;
emoji: string;
ends_at: null | string;
message_bus_last_id?: number;
};
username: string;
}
-
admin: boolean
-
avatar_template: string
-
id: number
-
moderator: boolean
-
name: null | string
-
new_user: boolean
-
Optional
primary_group_name?: string
-
staff: boolean
-
Optional
status?: {
description: string;
emoji: string;
ends_at: null | string;
message_bus_last_id?: number;
}
-
description: string
-
emoji: string
-
ends_at: null | string
-
Optional
message_bus_last_id?: number
-
username: string
The Chatable associated with the chat channel I don’t know if there will be
chatable
other than"Category"
.