asChat
Casts this UpdateParticipantRoleConfigChannelInfo as a Chat and retrieves its aws.sdk.kotlin.services.connect.model.ChatParticipantRoleConfig value. Throws an exception if the UpdateParticipantRoleConfigChannelInfo is not a Chat.
Casts this UpdateParticipantRoleConfigChannelInfo as a Chat and retrieves its aws.sdk.kotlin.services.connect.model.ChatParticipantRoleConfig value. Throws an exception if the UpdateParticipantRoleConfigChannelInfo is not a Chat.