PSChatBot.psm1

Function Get-ChatBotToken
{
    Param(
        $TenantId,
        $ClientId,
        $Secret
    )

    $AuthUrl = "https://login.microsoftonline.com/$TenantId/oauth2/v2.0/token"

    $Payload = @{
        grant_type    = 'client_credentials'
        client_id     = $ClientId
        client_secret = $Secret
        scope         = 'https://api.botframework.com/.default'
    }
    $Response = Invoke-RestMethod -Uri $AuthUrl -Method POST -Body $Payload
    Return $Response.access_token
}

Function Send-ChatBotMessage
{
    Param(
        $Token,
        $TenantId,
        $BotId,
        $MemberId,
        $Topic,
        $Message
    )

    #Set token
    $Headers = @{
        Authorization = "Bearer $($Token)"
    }

    #Start conversation
    $ServiceUrl = "https://smba.trafficmanager.net/teams/v3/conversations"
    $ConversationBody = @{
        bot = @{
            id = $BotId
        }
        isGroup = $false
        members = @(
            @{
                id = $MemberId
            }
        )
        tenantId = $TenantId
        topicName = $Topic
    } | ConvertTo-Json

    $ConversationParams = @{
        Uri         = $ServiceUrl
        Method      = "POST"
        Body        = $ConversationBody
        ContentType = "application/json;charset=utf-8"
        Headers     = $Headers
        ErrorAction = "Stop"
    }
    $Conversation = Invoke-RestMethod @ConversationParams

    #Send message
    if($null -ne $Conversation.Id)
    {
        $MessageBody = @{
            type = 'message'
            from = @{
                id = $MemberId
            }
            conversation = @{
                id = $Conversation.Id
            }
            recipient = @{
                id = $BotId
            }
            text = $Message
        } | ConvertTo-Json

        $ServiceUrl = "https://smba.trafficmanager.net/teams/v3/conversations/$($Conversation.Id)/activities"
        $MessageParams = @{
            Uri         = $ServiceUrl
            Method      = 'Post'
            Body        = $MessageBody
            ContentType = 'application/json;charset=utf-8'
            Headers     = $Headers
            ErrorAction = "Stop"
        }
        Invoke-RestMethod @MessageParams
    }
}
# SIG # Begin signature block
# MIIuRgYJKoZIhvcNAQcCoIIuNzCCLjMCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX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