Struct ModalOpen
zaun_client::ModalOpen · Struct
pub struct ModalOpen { … }A bot asks this member to fill in a modal; submit it with
Channel::submit_modal and interaction as the modal id.
Fields
Section titled “Fields”channel: Option<Channel>
Section titled “channel: Option<Channel>”Where the interaction happened.
interaction: InteractionId
Section titled “interaction: InteractionId”The interaction that opened it.
custom_id: String
Section titled “custom_id: String”The modal’s custom_id.
title: String
Section titled “title: String”Its title.
components: Vec<Component>
Section titled “components: Vec<Component>”Labels and text displays.
Trait implementations
Section titled “Trait implementations”Clone, Debug