createChatBubble

API -

return function()
    local app = getApp();
    
    local position = app.convertPercentToPosition(0.5, 0.5);
    --creates a chat bubble in the center of the screen for 30 seconds with
    --'test' as the text.
    app.createChatBubble(position.x, position.y, 30, 'test')
end

For emotes on twitch to display, they must first be read from chat before they can be used in chat bubble. For example 'kappa' will use the kappa emote only if someone has previously types Kappa into chat.

Last updated