Skip to content

Commit

Permalink
Bug 99139: Error message in adaptive card (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanBrat authored Feb 13, 2025
1 parent d1082d8 commit eae2f3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/sendZapCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,20 +434,23 @@ async function messageRecipient(
};

// Create the conversation ... or Adapter.CreateConversationAsync????
/*
const response = await connectorClient.conversations.createConversation(
conversationParameters,
);

*/
// Create the message
const message = MessageFactory.text(
`You have received ${zapAmount} Sats from ${sender.displayName} with a message: "${zapMessage}"`,
);

// Send the message to the new conversation
/*
await connectorClient.conversations.sendToConversation(
response.id,
message,
);
*/
} catch (error) {
if (
error.statusCode === 403 ||
Expand Down

0 comments on commit eae2f3d

Please sign in to comment.