[−][src]Derive Macro teloxide_macros::Transition
#[derive(Transition)]
The docs is below.
All the variants must be of the form VariantName(MyStateType)
, and
MyStateType
must implement Subtransition
. All MyStateType
s must have
the same Subtransition::Aux
, which will be also used in the generated
implementation.