DMView View
File: src/views/DMView.vue
Overview
Functions
loadMessages()
No description available.
Parameters: None
Returns: Unknown
const loadMessages = async () =>fetchMoreMessages()
No description available.
Parameters: None
Returns: Unknown
const fetchMoreMessages = async () =>handleSendMessage(content: MessagePart[], replyTo?: string)
No description available.
Parameters:
content: MessagePart[]replyTo?: string
Returns: Unknown
const handleSendMessage = async (content: MessagePart[], replyTo?: string) =>handleUsersAdded(conversationId: string, userIds: string[])
No description available.
Parameters:
conversationId: stringuserIds: string[]
Returns: Unknown
const handleUsersAdded = async (conversationId: string, userIds: string[]) =>handleConversationStarted(conversationId: string)
No description available.
Parameters:
conversationId: string
Returns: Unknown
const handleConversationStarted = async (conversationId: string) =>handleConversationCreated(newConversationId: string)
No description available.
Parameters:
newConversationId: string
Returns: Unknown
const handleConversationCreated = async (newConversationId: string) =>handleIncomingCall(payload: { callerId: string, callType: 'voice' | 'video', conversationId: string })
No description available.
Parameters:
payload: { callerId: string, callType: 'voice' | 'video', conversationId: string }
Returns: Unknown
const handleIncomingCall = (payload: { callerId: string, callType: 'voice' | 'video', conversationId: string }) =>handleAcceptCall(acceptWithVideo: boolean)
No description available.
Parameters:
acceptWithVideo: boolean
Returns: Unknown
const handleAcceptCall = async (acceptWithVideo: boolean) =>handleDeclineCall()
No description available.
Parameters: None
Returns: Unknown
const handleDeclineCall = async () =>scrollToMessage(messageId: string)
No description available.
Parameters:
messageId: string
Returns: Unknown
const scrollToMessage = async (messageId: string) =>highlightSearchText(messageElement: HTMLElement, query: string)
No description available.
Parameters:
messageElement: HTMLElementquery: string
Returns: Unknown
const highlightSearchText = (messageElement: HTMLElement, query: string) =>Interfaces
Props
No description available.
interface Props {
isDM: boolean
conversationId?: string
}Vue Component
This is a Vue component file.
Source Code Insights
File Size: 17093 characters Lines of Code: 536 Imports: 17
Usage Example
import { DMView } from '@/views/DMView'
// Example usage
loadMessages()This documentation was automatically generated from the source code.
