Variable GroupChannelMessageConst
GroupChannelMessage: {
Admin: ((props) => Element);
File: ((props) => Element);
ImageFile: ((props) => Element);
OpenGraphUser: ((props) => Element);
Unknown: ((props) => Element);
User: ((props) => Element);
VideoFile: ((props) => Element);
VoiceFile: ((props) => Element);
} = ...
Type declaration
Admin: ((props) => Element)
- (props): Element
Parameters
props: {
channel: GroupChannel;
children?: ReactNode;
groupedWithNext: boolean;
groupedWithPrev: boolean;
message: AdminMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressAvatar?: (() => void);
onPressMentionedUser?: ((mentionedUser?) => void);
onPressURL?: ((url) => void);
onToggleVoiceMessage?: ((state, setState) => Promise<void>);
parentMessage?: ReactNode;
sendingStatus?: ReactNode;
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
};
variant?: "incoming" | "outgoing";
}
channel: GroupChannel
Optional
children?: ReactNode
groupedWithNext: boolean
groupedWithPrev: boolean
message: AdminMessage
Optional
onLongPress?: (() => void)
Optional
onPress?: (() => void)
Optional
onPressAvatar?: (() => void)
Optional
onPressMentionedUser?: ((mentionedUser?) => void)
- (mentionedUser?): void
Parameters
Optional
mentionedUser: User
Returns void
Optional
onPressURL?: ((url) => void)
Optional
onToggleVoiceMessage?: ((state, setState) => Promise<void>)
- (state, setState): Promise<void>
Parameters
state: VoiceFileMessageState
setState: Dispatch<SetStateAction<VoiceFileMessageState>>
Returns Promise<void>
Optional
parentMessage?: ReactNode
Optional
sendingStatus?: ReactNode
Optional
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
}
Optional
edited?: string
Optional
fileName?: string
Optional
senderName?: string
Optional
sentDate?: string
Optional
unknownDescription?: string
Optional
unknownTitle?: string
Optional
variant?: "incoming" | "outgoing"
Returns Element
File: ((props) => Element)
- (props): Element
Parameters
props: {
channel: GroupChannel;
children?: ReactNode;
groupedWithNext: boolean;
groupedWithPrev: boolean;
message: FileMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressAvatar?: (() => void);
onPressMentionedUser?: ((mentionedUser?) => void);
onPressURL?: ((url) => void);
onToggleVoiceMessage?: ((state, setState) => Promise<void>);
parentMessage?: ReactNode;
sendingStatus?: ReactNode;
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
};
variant?: "incoming" | "outgoing";
}
channel: GroupChannel
Optional
children?: ReactNode
groupedWithNext: boolean
groupedWithPrev: boolean
message: FileMessage
Optional
onLongPress?: (() => void)
Optional
onPress?: (() => void)
Optional
onPressAvatar?: (() => void)
Optional
onPressMentionedUser?: ((mentionedUser?) => void)
- (mentionedUser?): void
Parameters
Optional
mentionedUser: User
Returns void
Optional
onPressURL?: ((url) => void)
Optional
onToggleVoiceMessage?: ((state, setState) => Promise<void>)
- (state, setState): Promise<void>
Parameters
state: VoiceFileMessageState
setState: Dispatch<SetStateAction<VoiceFileMessageState>>
Returns Promise<void>
Optional
parentMessage?: ReactNode
Optional
sendingStatus?: ReactNode
Optional
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
}
Optional
edited?: string
Optional
fileName?: string
Optional
senderName?: string
Optional
sentDate?: string
Optional
unknownDescription?: string
Optional
unknownTitle?: string
Optional
variant?: "incoming" | "outgoing"
Returns Element
ImageFile: ((props) => Element)
- (props): Element
Parameters
props: {
channel: GroupChannel;
children?: ReactNode;
groupedWithNext: boolean;
groupedWithPrev: boolean;
message: FileMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressAvatar?: (() => void);
onPressMentionedUser?: ((mentionedUser?) => void);
onPressURL?: ((url) => void);
onToggleVoiceMessage?: ((state, setState) => Promise<void>);
parentMessage?: ReactNode;
sendingStatus?: ReactNode;
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
};
variant?: "incoming" | "outgoing";
}
channel: GroupChannel
Optional
children?: ReactNode
groupedWithNext: boolean
groupedWithPrev: boolean
message: FileMessage
Optional
onLongPress?: (() => void)
Optional
onPress?: (() => void)
Optional
onPressAvatar?: (() => void)
Optional
onPressMentionedUser?: ((mentionedUser?) => void)
- (mentionedUser?): void
Parameters
Optional
mentionedUser: User
Returns void
Optional
onPressURL?: ((url) => void)
Optional
onToggleVoiceMessage?: ((state, setState) => Promise<void>)
- (state, setState): Promise<void>
Parameters
state: VoiceFileMessageState
setState: Dispatch<SetStateAction<VoiceFileMessageState>>
Returns Promise<void>
Optional
parentMessage?: ReactNode
Optional
sendingStatus?: ReactNode
Optional
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
}
Optional
edited?: string
Optional
fileName?: string
Optional
senderName?: string
Optional
sentDate?: string
Optional
unknownDescription?: string
Optional
unknownTitle?: string
Optional
variant?: "incoming" | "outgoing"
Returns Element
OpenGraphUser: ((props) => Element)
- (props): Element
Returns Element
Unknown: ((props) => Element)
- (props): Element
Parameters
props: {
channel: GroupChannel;
children?: ReactNode;
groupedWithNext: boolean;
groupedWithPrev: boolean;
message: SendbirdMessage;
onLongPress?: (() => void);
onPress?: (() => void);
onPressAvatar?: (() => void);
onPressMentionedUser?: ((mentionedUser?) => void);
onPressURL?: ((url) => void);
onToggleVoiceMessage?: ((state, setState) => Promise<void>);
parentMessage?: ReactNode;
sendingStatus?: ReactNode;
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
};
variant?: "incoming" | "outgoing";
}
channel: GroupChannel
Optional
children?: ReactNode
groupedWithNext: boolean
groupedWithPrev: boolean
message: SendbirdMessage
Optional
onLongPress?: (() => void)
Optional
onPress?: (() => void)
Optional
onPressAvatar?: (() => void)
Optional
onPressMentionedUser?: ((mentionedUser?) => void)
- (mentionedUser?): void
Parameters
Optional
mentionedUser: User
Returns void
Optional
onPressURL?: ((url) => void)
Optional
onToggleVoiceMessage?: ((state, setState) => Promise<void>)
- (state, setState): Promise<void>
Parameters
state: VoiceFileMessageState
setState: Dispatch<SetStateAction<VoiceFileMessageState>>
Returns Promise<void>
Optional
parentMessage?: ReactNode
Optional
sendingStatus?: ReactNode
Optional
strings?: {
edited?: string;
fileName?: string;
senderName?: string;
sentDate?: string;
unknownDescription?: string;
unknownTitle?: string;
}
Optional
edited?: string
Optional
fileName?: string
Optional
senderName?: string
Optional
sentDate?: string
Optional
unknownDescription?: string
Optional
unknownTitle?: string
Optional
variant?: "incoming" | "outgoing"
Returns Element
User: ((props) => Element)
- (props): Element
Returns Element
VideoFile: ((props) => Element)
- (props): Element
Returns Element
VoiceFile: ((props) => Element)
- (props): Element
Returns Element