/* Options: Date: 2024-05-17 02:13:24 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PostChatToChannel.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ChatMessage { public id: number; public channel: string; public fromUserId: string; public fromName: string; public displayName: string; public message: string; public userAuthId: string; public private: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/channels/{Channel}/chat") export class PostChatToChannel implements IReturn { public from: string; public toUserId: string; public channel: string; public message: string; public selector: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PostChatToChannel'; } public getMethod() { return 'POST'; } public createResponse() { return new ChatMessage(); } }