Skip to content

Commit

Permalink
#19
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Jul 28, 2020
1 parent bc8f5ba commit 73bdd64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Public/New-TeamsActivityImage.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
function New-TeamsActivityImage {
[CmdletBinding()]
[CmdletBinding(DefaultParameterSetName = 'Link')]
[alias('ActivityImageLink', 'TeamsActivityImageLink', 'New-TeamsActivityImageLink', 'ActivityImage', 'TeamsActivityImage')]
param(
[string][ValidateSet('Alert', 'Cancel', 'Disable', 'Download', 'Info', 'Minus', 'Check', 'Add', 'None')] $Image,
[string] $Link
[Parameter(ParameterSetName = 'Image')][string][ValidateSet('Add', 'Alert', 'Cancel', 'Check', 'Disable', 'Download', 'Info', 'Minus', 'Question', 'Reload', 'None')] $Image,
[Parameter(ParameterSetName = 'Link')][string] $Link
)
if ($Image) {
if ($Image -ne 'None') {
Expand Down

0 comments on commit 73bdd64

Please sign in to comment.