mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Fix src/core/types/inline_query_result_article.rs
This commit is contained in:
parent
2b49b22b42
commit
a7fa66754a
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ use crate::core::types::{InputMessageContent, InlineKeyboardMarkup};
|
|||
|
||||
#[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)]
|
||||
pub struct InlineQueryResultArticle {
|
||||
// Type of the result, must be article
|
||||
#[serde(rename = "type")]
|
||||
pub query_type: String,
|
||||
|
||||
/// Unique identifier for this result, 1-64 Bytes
|
||||
pub id: String,
|
||||
/// Title of the result
|
||||
|
|
Loading…
Reference in a new issue