/**
 * Mattermost Node - Version 1
 * Discriminator: resource=channel, operation=statistics
 */


interface Credentials {
  mattermostApi: CredentialReference;
}

/** Get statistics for a channel */
export type MattermostV1ChannelStatisticsParams = {
  resource: 'channel';
  operation: 'statistics';
/**
 * The ID of the channel to get the statistics from. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
 */
    channelId?: string | Expression<string>;
};

export type MattermostV1ChannelStatisticsNode = {
  type: 'n8n-nodes-base.mattermost';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<MattermostV1ChannelStatisticsParams>;
};