@likeminds.community/chat-js
Version:
LikeMinds Javascript SDK for chat APIs
27 lines (26 loc) • 623 B
TypeScript
export declare type PostPollConversationRequest = {
chatroomId: number;
state: number;
text: string;
repliedConversationId?: number;
polls?: any;
pollType?: any;
multipleSelectState?: any;
multipleSelectNo?: any;
isAnonymous?: any;
allowAddOption?: any;
temporaryId?: number;
expiryTime?: any;
};
export declare type GetPollUsersRequest = {
pollId: number;
conversationId?: number;
};
export declare type AddPollOptionRequest = {
poll: any;
conversationId?: number;
};
export declare type SubmitPollRequest = {
polls: any;
conversationId?: number;
};