tencent cloud

Feedback

Last updated: 2024-03-21 14:38:14

    Description

    TUIKit supports showing "Typing..." in a one-to-one chat in the classic UI starting from version 6.5.2803.
    This feature is implemented using the Online Message capability of IMSDK.
    Enabling "Typing..."
    Disabling "Typing..."
    
    
    
    
    
    

    Disabling "Typing..."

    In the TUIChat component, within the TUIChatConfig file, a switch for the "Typing" feature, named enableTypingStatus, is provided. Its type is BOOL, with a default value of YES.
    - (id)init
    {
    self = [super init];
    if(self){
    self.enableTypingStatus = YES;
    }
    return self;
    }
    To disable the typing indicator feature, simply change the default value of enableTypingStatus to NO, or call the following method before initializing the chat page.
    TUIChatConfig.defaultConfig.enableTypingStatus = NO;

    FAQs

    Why is there no prompt for typing after the switch is turned on?

    The rule for showing "Typing..." in a one-to-one chat is: the other party has sent you a message within the last 30 seconds and is currently typing.

    Exchange and Feedback

    Join the Telegram technical exchange group or WhatsApp discussion group, benefit from the support of professional engineers, and solve your toughest challenges.
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support