ferrisgram 0.1.5

An elegent rust client for the Telegram Bot API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

use crate::types::InlineQueryResult;
use crate::types::InlineQueryResultCachedAudio;

impl InlineQueryResult {
    /// This function creates an empty struct for the enum InlineQueryResult.
    pub fn new() -> Self {
        Self::InlineQueryResultCachedAudio(InlineQueryResultCachedAudio::new())
    }
}
impl Default for InlineQueryResult {
    fn default() -> Self {
        Self::new()
    }
}