Skip to content

Commit 25dabe9

Browse files
committed
Changed docs to include correct call path for sending cards
1 parent 2bc4c75 commit 25dabe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/user/cards.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Lets dive into a simple example that sends a card to a room
3131
card = AdaptiveCard(body=[greeting, first_name, age], actions=[submit])
3232
3333
api = WebexTeamsAPI()
34-
api.messages.create(text="fallback", roomId="...", cards=card)
34+
api.messages.create(text="fallback", roomId="...", attachments=[card])
3535
3636
The message we send with this code then looks like this in our Webex Teams
3737
client:

0 commit comments

Comments
 (0)