Skip to content

Commit

Permalink
Merge pull request #233 from OfficeDev/SummaryUpdateGetSingleMember
Browse files Browse the repository at this point in the history
summary update for get single member
  • Loading branch information
robin-liao authored Apr 13, 2020
2 parents 4951adc + 81fd884 commit 753e0ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Node/src/TeamsChatConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ export class TeamsChatConnector extends builder.ChatConnector {
}

/**
* Return a list of members in a team or channel
* @param {string} serverUrl - Server url is composed of baseUrl and cloud name, remember to find your correct cloud name in session or the function will not find the team.
* @param {string} conversationId - The conversation id or channel id, you can look it up in session object.
* @param {string} memberId - Member Id to look up a specific member
* Return a specific member from a team or a chat.
* @param {string} serviceUrl - The service url for the team or chat, which should be taken from a previous message received from that team or chat. If the wrong service url is used, the method wil fail.
* @param {string} conversationId - The team id or chat conversation id.
* @param {string} memberId - Member Id
* @param {function} callback - This callback returns err or result.
*/
public fetchMember(serverUrl: string, conversationId: string, memberId: string, callback: (err: Error, result: ChannelAccount) => void) : void {
Expand Down
2 changes: 1 addition & 1 deletion Node/src/botbuilder-teams.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ export class TeamsChatConnector extends builder.ChatConnector {
* @param {string} serviceUrl - The service url for the team or chat, which should be taken from a previous message received from that team or chat. If the wrong service url is used, the method wil fail.
* @param {string} conversationId - The team id or chat conversation id.
* @param {string} memberId - Member Id
* @param {function} callback - Function to invoke with the list of members.
* @param {function} callback - This callback returns err or result
*/

public fetchMember(serviceUrl: string, conversationId: string, memberId: string, callback: (err: Error, result: ChannelAccount) => void) : void;
Expand Down

0 comments on commit 753e0ac

Please sign in to comment.