botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

DCR: Add support for LINE in the SDK

Open iMicknl opened this issue 7 years ago • 4 comments

Issue

The Line channel just got released, but the SDK (JS/.NET) is missing channel specific context.

Proposed change

Add a channel constant for LINE and a buttonCount / cardCount for SupportsSuggestedActions and SupportsCardActions

Component Impact

Connector.Channels Channel.cs

Customer Impact

No breaking changes, just resolves issues like https://github.com/Microsoft/BotFramework-Services/issues/56

Tracking Status

Dotnet SDK

  • [x] PR
  • [x] Merged

Javascript SDK

  • [x] PR
  • [x] Merged

[dcr]

iMicknl avatar Feb 27 '19 21:02 iMicknl

@iMicknl max number of suggested actions should be 13 and max number of card action should be 4 depend on LINE document.

youyu16 avatar Feb 28 '19 03:02 youyu16

As an amusing coincidence, I'm creating these Issues now for tracking.

cleemullins avatar Feb 28 '19 17:02 cleemullins

@youyu16 I've tested these, and the max Suggested Actions for Line is indeed 13, however the Maximum Number of Card Actions appears to be much larger (99):

image

Has this changed since your last comment?

EricDahlvang avatar Mar 21 '19 18:03 EricDahlvang

@EricDahlvang Most of the cards are LINE flex card. it's not have the clear limitation on these card actions with one exception, the animation card. LINE don't have the it natively and flex card only support jpg and png. So animation card will be the template message in LINE, and template message have a clear limitation on action number(up to 4). To be honest, LINE only support jpg and png in cards depend on there document, but actually template message support gif and short video depend on my test. image image

youyu16 avatar Mar 22 '19 02:03 youyu16