tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

About whether the document has errors #2702

Closed CoCoMNT closed 11 months ago

CoCoMNT commented 11 months ago

hi sir https://github.com/tdlib/td/blob/404761c525d933df813702c863828058cd26111a/td/generate/scheme/td_api.tl#L3947 //@param_description A short description of the result https://github.com/tdlib/td/blob/404761c525d933df813702c863828058cd26111a/td/generate/scheme/td_api.tl#L3953 inputInlineQueryResultArticle id:string url:string hide_url:Bool title:string description:string thumbnail_url:string thumbnail_width:int32 thumbnail_height:int32 reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; There seems to be a difference between the places I marked and the documentation notes

levlam commented 11 months ago

"@paramdescription" is used to document a parameter with name "description". "param" is required, because "@description" contains description for the class itself.