1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::types::{message::Text, Audio}; edited_message! { struct EditedAudio { /// The audio. audio: Audio, /// The caption of the audio. caption: Text, } -> EventLoop::edited_audio fn new(caption: Text,) -> Self { Self { caption: caption, } } }