Interface MessagesModalOptions

interface MessagesModalOptions {
    isMessagesModalVisible: boolean;
    onMessagesClose: (() => void);
    onSendMessagePress?: ((options: SendMessageOptions) => Promise<void>);
    messages: Message[];
    position?: string;
    backgroundColor?: string;
    activeTabBackgroundColor?: string;
    eventType: EventType;
    member: string;
    islevel: string;
    coHostResponsibility: CoHostResponsibility[];
    coHost: string;
    startDirectMessage: boolean;
    directMessageDetails: null | Participant;
    updateStartDirectMessage: ((start: boolean) => void);
    updateDirectMessageDetails: ((participant: null | Participant) => void);
    showAlert?: ShowAlert;
    roomName: string;
    socket: Socket<DefaultEventsMap, DefaultEventsMap>;
    chatSetting: string;
}

Properties

isMessagesModalVisible: boolean
onMessagesClose: (() => void)
onSendMessagePress?: ((options: SendMessageOptions) => Promise<void>)
messages: Message[]
position?: string
backgroundColor?: string
activeTabBackgroundColor?: string
eventType: EventType
member: string
islevel: string
coHostResponsibility: CoHostResponsibility[]
coHost: string
startDirectMessage: boolean
directMessageDetails: null | Participant
updateStartDirectMessage: ((start: boolean) => void)
updateDirectMessageDetails: ((participant: null | Participant) => void)
showAlert?: ShowAlert
roomName: string
socket: Socket<DefaultEventsMap, DefaultEventsMap>
chatSetting: string