mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(channel): sync a cleared group DM name without a reload (#2882)
This commit is contained in:
1 parent
c7ec2a0f58
commit
7601bf98ee
5 files changed
+68
-6
No files matched your search
@@ -50,7 +50,7 @@ export type CallEligibilityResponse = z.infer<typeof CallEligibilityResponse>;
|
||||
export const ChannelResponse = z.object({
|
||||
id: SnowflakeStringType.describe('The unique identifier (snowflake) for this channel'),
|
||||
guild_id: SnowflakeStringType.optional().describe('The ID of the guild this channel belongs to'),
|
||||
name: z.string().optional().describe('The name of the channel'),
|
||||
name: z.string().nullish().describe('The name of the channel'),
|
||||
topic: z.string().nullish().describe('The topic of the channel'),
|
||||
url: z.url().nullish().describe('The URL associated with the channel'),
|
||||
icon: z.string().nullish().describe('The icon hash of the channel (for group DMs)'),
|
||||
@@ -141,7 +141,7 @@ export interface ChannelOverwrite {
|
||||
export interface Channel {
|
||||
readonly id: string;
|
||||
readonly guild_id?: string;
|
||||
readonly name?: string;
|
||||
readonly name?: string | null;
|
||||
readonly topic?: string | null;
|
||||
readonly url?: string | null;
|
||||
readonly icon?: string | null;
|
||||
|
||||
Reference in new issue
Block a user