Skip to content

Add CardClicked to MessageType Enum for other backends to leverage if capable#99

Merged
devblackops merged 4 commits intoposhbotio:masterfrom
scrthq:feature/add_cardClicked_to_MessageType_enum
Aug 27, 2018
Merged

Add CardClicked to MessageType Enum for other backends to leverage if capable#99
devblackops merged 4 commits intoposhbotio:masterfrom
scrthq:feature/add_cardClicked_to_MessageType_enum

Conversation

@scrthq
Copy link
Copy Markdown
Contributor

@scrthq scrthq commented Aug 26, 2018

Adds CardClicked to enum MessageType so that backends sending CardClicked events can leverage it on their custom backends.

Description

Adds CardClicked to enum MessageType so that backends sending CardClicked events can leverage it on their custom backends.

Related Issue

Add CardClicked to enum MessageType #98

Motivation and Context

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

How Has This Been Tested?

Tested with PoshBot.GChat.Backend in local.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes. N/A for this, tests don't exist (yet) for enums
  • All new and existing tests passed.

@devblackops
Copy link
Copy Markdown
Member

Looks good to me. Thanks @scrthq!

@devblackops devblackops merged commit 4e246bb into poshbotio:master Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants