Forum Discussion
catmanjan2010
Oct 17, 2022Brass Contributor
Teams command bar integration bot shows See More and See Less button for no reason
Teams command bar integration bot shows "See More" and "See Less" button for no reason
Clicking the buttons has no effect
How do we remove these buttons? Seems to appear no matter what length the message is
16 Replies
Sort By
- Nivedipa-MSFT
Microsoft
catmanjan2010 - Could you please sharevthe repro steps to repro this issue?- catmanjan2010Brass Contributor
Nivedipa-MSFT develop a command bar integration which returns the following card
var card = new ThumbnailCard { Title = "title", Subtitle = "subtitle", Text = "text", Images = new List<CardImage> { new CardImage { Url = $"someimagehere" } } }; return new MessagingExtensionResponse { ComposeExtension = new MessagingExtensionResult { Type = "result", AttachmentLayout = "list", Attachments = new[] { new MessagingExtensionAttachment { ContentType = ThumbnailCard.ContentType, Content = card, Preview = card.ToAttachment() } } } };
no matter how long the strings you provide are the see more/see less buttons appear
- Nivedipa-MSFT
Microsoft
catmanjan2010 - Could you please elaborate on command bar integration? Share any document reference?
Are you trying to implement messaging extension and in preview you are getting this see less and see more options?
Could you please share how you are doing command bar integration?
It helps us to repro the issue.