TeamsInfo.getTeamChannels from @microsoft/agents-hosting-extensions-teams returns an object in the following format:
{
conversations: [
{
id: '......'
},
{
name: 'Second Channel',
id: '.....'
},
.....
]
}
but according to the typescript definition files it returns a Promise<ChannelInfo[]> where ChannelInfo is defined as
export interface ChannelInfo {
/**
* The ID of the channel.
*/
id?: string;
/**
* The name of the channel.
*/
name?: string;
/**
* The type of the channel.
*/
type?: string;
}
Using version 0.6.18
TeamsInfo.getTeamChannelsfrom@microsoft/agents-hosting-extensions-teamsreturns an object in the following format:but according to the typescript definition files it returns a
Promise<ChannelInfo[]>whereChannelInfois defined asUsing version 0.6.18