Skip to content

Commit 80c58b1

Browse files
SebastienTob0t
authored andcommitted
Updated README.md to document the 'fullWidth()' function.
1 parent 30febc3 commit 80c58b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Notification::route(MicrosoftTeamsChannel::class,null)
177177
- `create()`: Static factory method to create a new instance of the MicrosoftTeamsAdaptiveCard.
178178
- `to(string $webhookUrl)`: Sets the recipient's webhook URL. Required for sending notifications.
179179
- `title(string $title)`: Sets the title of the adaptive card with appropriate text styling (heading style, bold weight, and large size).
180+
- `fullWidth()`: Sets the adaptive card to take up the full width of the Teams channel or chat instead of the default width.
180181
- `content(array $contentBlocks)`: Adds content blocks to the adaptive card body. Accepts an array of content block objects like TextBlock, FactSet, Icon, etc.
181182
- `actions(array $actions)`: Adds action buttons to the adaptive card. Accepts an array of action objects like ActionOpenUrl.
182183
- `getWebhookUrl()`: Returns the currently set webhook URL.

0 commit comments

Comments
 (0)