n8n-nodes-base
Version:
Base nodes of n8n
41 lines (37 loc) • 1.17 kB
text/typescript
/**
* Microsoft Teams Node - Version 1.1
* Discriminator: resource=channelMessage, operation=getAll
*/
interface Credentials {
microsoftTeamsOAuth2Api: CredentialReference;
}
/** Get many channels */
export type MicrosoftTeamsV11ChannelMessageGetAllParams = {
resource: 'channelMessage';
operation: 'getAll';
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
teamId?: string | Expression<string>;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
channelId?: string | Expression<string>;
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 50
*/
limit?: number | Expression<number>;
};
export type MicrosoftTeamsV11ChannelMessageGetAllNode = {
type: 'n8n-nodes-base.microsoftTeams';
version: 1.1;
credentials?: Credentials;
config: NodeConfig<MicrosoftTeamsV11ChannelMessageGetAllParams>;
};