Skype bot truncating display - botframework

I have a bot deployed on Skype. The problem is that Skype truncates long text and shows an ellipsis. Is there a way to avoid this and control size of card?
Update: I am using Skype desktop application on Windows 10

Every channel has their own limitations on cards. Skype specifically only allows a limited number of chars on a hero card for example(title, subtitle, and text). As of right now there is not a work around that I know of to either extend the length of the text and/or the size of the card.

Related

How to make screen reader announce text when app is not active?

My requirement is, I have an app that is running in the background and is not having the focus. The user might be using some other applications, and based on certain events in my app, I want the screen reader to announce the text based on my liking. I dont want my app to get the focus, user should be able to continue with the other application, I just want screen reader to announce some texts. I already tried sending QAccessibleEvent with different Events like Alert, NameChanged, ObjectShow etc. But I think since my app is not in focus, it may not be passing through. Could it be possible to achieve my requirement without my app getting focus? Thank you. I am using Qt 5.15 with Windows 10
One possible solution is to directly call screen reader specific API.
However, if you are presenting some text on screen as well, you should rather preferably use the so called toasts, or the notification system, if it's suited to your application.
QT probably provides access to them.
Just in case, I'm the author of a DLL that allows to make several screen readers speak text.
Note that it doesn't show anything on screen.
http://github.com/qtnc/UniversalSpeech

How to add custom UI elements inside chat window using MS Teams Toolkit?

I previously worked on creating VSTO and Office addins for MS Outlook, Excel and Word using C# VS. Now I have a plan to build one for MS teams. So, I checked online and found the documentation.
But I didn't found that how I can add custom UI elements (text, buttons etc.) inside a chat window. For example: Teams suggested replies shows suggestions inside button above the chat textbox.
Do anybody have an idea that how I can achieve this one?
you might want to start with these docs:
build a command-response bot that you can customize the messages in chat window to either text or adaptive cards (on which you can have buttons).
and notification bot doc which has more information on customizing adaptive card for Teams apps.
there are also docs on message extension on the same doc site, you can take a look to decide which is what you want to build.

Customize default message behavior in MS Teams

Overview:
Before I go too deep into the documentation, I wanted to ask a few basic questions.
My goal of all this is to customize the default message notifications, which appear in the lower right hand corner of the screen, specifically when chatting in MS Teams. Note I am interested only in Windows, not mobile.
Use case:
I send the GitHub Bot a bogus chat message, just to show a notification coming in for demonstration purposes:
This notification will disappear after some predetermined amount of time (around ~15s, at least on my machine)
Question(s):
Would it be possible to create a message extension of sorts, which wraps the default messaging behavior?
For example, I would want to:
Let the notification sit in the lower right hand corner until acted
upon, rather than have it disappear. Or, is this the behavior of the
OS, rather than Teams?
Change the color, and format of the message. Effectively, intercept
the message, and display it in different format, font, color, icon
etc.
I only see notifications in the lower right hand corner, if and only
if Teams is minimized, or out of view. Would it be possible, if
intercepted, to display the notification, regardless if Teams has
focus, and is in the foreground. For example, if I am in Teams, and
a notification appears (say someone sends me a message), the ‘Chat’
icon in the upper left hand corner will display an alert. I would
like to also have the notification appear in the lower right hand
corner of the screen.
Lastly, say for example Teams is in the foreground, and you receive
a notification. By default, the Teams icon in the toolbar will
flicker and update the badge number on the icon. Is there any way
for a developer to update the icon, or possibly draw additional
attention to the icon, aside from the red badge.
Note that these are all things I would like to do from a personal standpoint. The odds of another developer wanting these sort of changes are slim to none, which is why I would like to build something myself, opposed to a file feature request.
Of course, anything is possible, but I don’t want to hack something together that will break in a week. I’d rather see if I can build upon whatever API’s are out there to do this sort of thing.
Note that I'm not looking for a solution, but rather a brief yes or no for the questions above, and possibly a pointer to specific documentation that could aid in my investigation.
Thanks!
Just to circle back on this. I spoke to one of their support devs, who was extremely helpful.
I've summarized his response below for reference.
Note that the list below corresponds to the order of questions asked above:
It behaves as per OS. On Windows, notifications will show in the bottom right corner of your screen, then move to the
Action Center. On Mac OS, these show up in the top right corner of
your screen, then move to the Control Center.
You could change the notification text if you are sending it from a user app. But not all notification are shown from Teams. Font, color
and icon are displayed as per Teams theme and cannot be modified.
This is currently not possible. A Custom App inside a team has limited access (scope). For example if you have installed an app inside
a teams channel, then it has limited scope to send or receive
operations only inside that channel.
This is also not possible.
So in summary, in relation to the original posted question, it is not possible at this time to customize the default Message behavior in Teams.
Also, I was using the terms Message and Notification interchangeably, which is incorrect.
It would appear as though Notifications are really what the OS displays, and as such, defines it's default behavior. The application, in this case MS-Teams, controls the visual display characteristics of that Notification, for example color/font/icon, based on the UI theme of teams.
Conversely, Messages or Message Extensions, are quite different from Notifications.
Using Message Extension, the user can search, or initiate actions, in an external system from the compose message area, the command box, or directly from a message. You can then send the results of that interaction back to the Microsoft Teams client, typically in the form of a richly formatted card.

Possible to change the size of rendered cards?

is it possible to change the size of these cards in Skype or any other messaging platform available via the Microsoft Bot Framework?
As you can see the text is cut off which is problematic, since it doesn't seem like it's possible to expand the card in the Skype UI.
As Ed said, you would have to modify the card's code itself. The cards are rendered differently depending on the channel you view them through. There is a slightly outdated channel inspector here that shows how the different card types are rendered on each channel, if they render at all (for example, adaptive cards do not work well, if at all, on Skype, and Lists look dumb on Facebook).

Outlook 2007 Adding lots of space above a large image in an HTML email

We've created an HTML template that is rendering correctly on all email clients except for one issue with Outlook 2007. In the middle of the Email, there is a 600px tall ad. In Outlook that ad has around 350px of undesired space above it. As far as we can tell, Outlook is doing some kind of pagination to avoid breaking the image in two (since it's using the Word rendering engine). If we move the ad down, the problem goes away, but that's not a very good option because the size of the content prior to the ad is going to vary each newsletter.
Is there anyway around this?
This is the Outlook 2007 page break bug.
See my response here

Resources