Share via


IRefreshDefinition interface

Defines how a card can be refreshed by making a request to the target Bot.

Properties

action

The Action.Execute action to invoke to refresh the card.

userIds

The list of user Ids for which the card will be automatically refreshed. In Teams, in chats or channels with more than 60 users, the card will automatically refresh only for users specified in the userIds list. Other users will have to manually click on a "refresh" button. In contexts with fewer than 60 users, the card will automatically refresh for all users.

Property Details

action

The Action.Execute action to invoke to refresh the card.

action?: IExecuteAction

Property Value

userIds

The list of user Ids for which the card will be automatically refreshed. In Teams, in chats or channels with more than 60 users, the card will automatically refresh only for users specified in the userIds list. Other users will have to manually click on a "refresh" button. In contexts with fewer than 60 users, the card will automatically refresh for all users.

userIds?: string[]

Property Value

string[]