import { AbstractQuery } from "@twixtlabs/lambda-cqrs-poc"; export class GetTenantChannelQuery extends AbstractQuery { static NAME = "conversations.GetTenantChannelQuery"; public readonly tenantId:string; public readonly channelId:string; public readonly platform:string; constructor({ tenantId,channelId,platform }: { tenantId:string,channelId:string; platform:string;}) { super({ queryName: GetTenantChannelQuery.NAME }); this.tenantId =tenantId; this.channelId = channelId; this.platform = platform; } } export interface GetTenantChannelQueryResponse { channel:null | { tenantId:string; channelId:string; channelName:string; platform:string; tags:string[] } }