Skip to content

Add CardClicked to enum MessageType #98

@scrthq

Description

@scrthq

Associated PR #99

Custom backends like Google Chat also send CardClicked events for interactive cards when buttons or images are clicked. This will allow the additional MessageType so that backends can leverage it natively

Expected Behavior

Adding CardClicked to the enum will cause no impact to existing PoshBot users, it only enables other backends to leverage it if they work with that event type.

Current Behavior

I'm currently working around it by using one of the other MessageType's that Google Chat doesn't support (PresenceChanged).

Your Environment

  • Module version used: 0.10.2
  • Operating System and PowerShell version: Windows 10 1803, both PowerShell 5.1 and PowerShell Core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions