MessageService Service
File: src/services/MessageService.ts
Overview
Exports
- CreateChannelMessageData - interface export
- CreateDMMessageData - interface export
- MessageService - class export
- messageService - const export
Classes
MessageService
No description available.
Methods:
getInstancesendChannelMessagesuccessfullycatchsendDMMessageeditMessagedeleteMessagetoggleReactionisValidUUIDgetMessageReactionsgetBatchMessageReactionsloadChannelMessagesloadConversationMessagesloadMessagepinMessageunpinMessagegetPinnedChannelMessagesgetPinnedDMMessagesgetPinnedCountgetCurrentUserProfileIdcreateError
Properties:
instanceserverIdchannelIdcontentreplyToSimplifiedmessageerrorconversationIdautomaticallynewContentdesignPRESERVESmessageIdemojiIdaddednewCountresultisNativeEmojifieldcountQuerycountresponseUUID4122uuidRegexemoji_idemoji_nameusersusernamedisplay_namereactionsoptionslimitbeforeaftersignalmessageshasMorenextCursorAPIPINNINGDMp_message_idsuccessfullytruechannelseparatelysupabaseascendinguseUserDataidcreated_atchannel_idconversation_iduser_idreply_tois_pinnedpinned_atpinned_bymetadataconversationcomponentp_channel_idp_conversation_id0OPTIMIZEDcodedetails
Interfaces
CreateChannelMessageData
No description available.
typescript
interface CreateChannelMessageData {
content: MessagePart[]
channelId: string
replyTo?: string
}1
2
3
4
5
6
7
2
3
4
5
6
7
CreateDMMessageData
No description available.
typescript
interface CreateDMMessageData {
content: MessagePart[]
conversationId: string
replyTo?: string
}1
2
3
4
5
6
7
2
3
4
5
6
7
Source Code Insights
File Size: 17328 characters Lines of Code: 557 Imports: 4
Usage Example
typescript
import { CreateChannelMessageData, CreateDMMessageData, MessageService, messageService } from '@/services/MessageService'
// Example usage
// Use the exported functionality1
2
3
4
2
3
4
This documentation was automatically generated from the source code.
