Developer/IT > Whisbi API > API Reference > Events > One-to-Many: Session

One-to-Many: Session

Events that trigger when the customer is inside a One-to-Many session

NameDescriptionRequired
otmNameEntered function The customer enters their name and proceeds to the broadcast Location: One-to-Many session. Name screen Optional
otmSessionInit function A One-to-Many session is live and the customer joins the session Location: One-to-Many session
Triggered: The first time a customer sees the live broadcast just after the name screen.
Optional
otmSessionStarted function The live broadcast starts to be displayed on the One-to-Many open sidebar Location: One-to-Many session
Triggered: On Desktop the first time a customer sees the live broadcast just after the name screen. On Mobile the first time a customer manually plays the live broadcast just after the name screen.
Returns:
sessionId: Identifier of the current One-to-Many session
cookieGuid: Unique customer identifier
Optional
otmMessageSent function The viewer sends a question to the One-to-Many presenter Location: One-to-Many session Optional
otmLiked function The viewer clicks the like button on the One-to-Many widget Location: One-to-Many session Optional
otmMuted function The viewer mutes the One-to-Many broadcast Location: One-to-Many session Optional
otmUnmuted function The viewer unmutes the One-to-Many broadcast Location: One-to-Many session Optional
otmChatbotShown function The One-to-Many chatbot just appears Location: One-to-Many session
Triggered: Once per session.
Optional
otmChatbotClicked function As a response to the One-to-Many chatbot, the viewer has clicked on the button that leads to the One-to-One or the designed URL Optional
otmChatbotDeclined function As a response to the One-to-Many chatbot, the viewer has clicked on the negative option Location: One-to-Many chatbot
Triggered: Every time a customer clicks this option.
Optional