use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Dingtalk; impl Platform for Dingtalk { fn id(&self) -> &'static str { "dingtalk" } fn name(&self) -> &'static str { "钉钉" } fn category(&self) -> Category { Category::Social } fn domains(&self) -> &'static [&'static str] { &["dingtalk.com", "dingtalk.cn", "dingtalkapps.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Dingtalk = Dingtalk;