UNPKG

@botpress/webchat-client

Version:
38 lines (37 loc) 920 B
export type ParticipantAdded = { type: 'participant_added' data: { conversationId: string /** * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users. */ participant: { /** * Name of the [User](#schema_user) */ name?: string /** * Picture url of the [User](#schema_user) */ pictureUrl?: string /** * User data */ data?: { [k: string]: any } /** * Id of the [User](#schema_user) */ id: string /** * Creation date of the [User](#schema_user) in ISO 8601 format */ createdAt: string /** * Updating date of the [User](#schema_user) in ISO 8601 format */ updatedAt: string } } }