Skip to content

Commit

Permalink
add into attributes for chat_id in SendInvoice and SendPaidMedia (#194
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ayrat555 authored Aug 24, 2024
1 parent c2d79ae commit 7d7b024
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ pub struct SendPaidMediaParams {
#[builder(setter(into, strip_option), default)]
pub business_connection_id: Option<String>,

#[builder(setter(into))]
pub chat_id: ChatId,

pub star_count: u32,
Expand Down Expand Up @@ -2342,6 +2343,7 @@ pub struct InlineQueryResultsButton {

#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Builder)]
pub struct SendInvoiceParams {
#[builder(setter(into))]
pub chat_id: ChatId,

#[serde(skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 7d7b024

Please sign in to comment.