Skip to content

Need to increase the timeout for TypingAnimation #2031

@mathurvarun84

Description

@mathurvarun84

@compulim: Please see "How to fix" below, #2031 (comment).

Feature request

I need to increase the timeout of the typing animation shown by the bot. Currently, the bot typing animation disappears after 2 sec or so. I need to increase to 6 sec. I tried following the approach of setting SendTimeout explicitly but it doesn't seem to work.

  window.WebChat.renderWebChat({
                directLine: window.WebChat.createDirectLine({
                    token: params['s'],
                    userID: params['username'],
                    user: {id: params['userid']},          
                }),
                store, username: params['username'],
                userID: params['userid'], **sendTimeout: 60000**,
                styleSet,
                sendTypingIndicator: true,
            },
            document.getElementById("webchat")
        );

Any idea of how can I Increase the timeout for typing Animation.

(Edited by @compulim for code formatting)

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.front-burner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions