use crate::common::*;
use crate::AppKit::*;
use crate::BusinessChat::*;
use crate::Foundation::*;
typed_extensible_enum!(
pub type BCParameterName = NSString;
);
extern_static!(BCParameterNameIntent: &'static BCParameterName);
extern_static!(BCParameterNameGroup: &'static BCParameterName);
extern_static!(BCParameterNameBody: &'static BCParameterName);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "BusinessChat_BCChatAction")]
#[deprecated]
pub struct BCChatAction;
#[cfg(feature = "BusinessChat_BCChatAction")]
unsafe impl ClassType for BCChatAction {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "BusinessChat_BCChatAction")]
unsafe impl NSObjectProtocol for BCChatAction {}
extern_methods!(
#[cfg(feature = "BusinessChat_BCChatAction")]
unsafe impl BCChatAction {
#[cfg(all(feature = "Foundation_NSDictionary", feature = "Foundation_NSString"))]
#[deprecated]
#[method(openTranscript:intentParameters:)]
pub unsafe fn openTranscript_intentParameters(
business_identifier: &NSString,
intent_parameters: &NSDictionary<BCParameterName, NSString>,
);
}
);
extern_methods!(
#[cfg(feature = "BusinessChat_BCChatAction")]
unsafe impl BCChatAction {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);