Skip to content

Commit

Permalink
Update code to reflect latest changes to the Bot API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TiiFuchs committed Oct 22, 2024
1 parent 0cfecaf commit 573a3b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Telegram/StarTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class StarTransaction extends Type
{
/** Unique identifier of the transaction. Coincides with the identifer of the original transaction for refund transactions. Coincides with <em>SuccessfulPayment.telegram_payment_charge_id</em> for successful incoming payments from users. */
/** Unique identifier of the transaction. Coincides with the identifier of the original transaction for refund transactions. Coincides with <em>SuccessfulPayment.telegram_payment_charge_id</em> for successful incoming payments from users. */
public string $id;

/** Number of Telegram Stars transferred by the transaction */
Expand All @@ -29,7 +29,7 @@ class StarTransaction extends Type
public ?TransactionPartner $receiver = null;

/**
* @param string $id Unique identifier of the transaction. Coincides with the identifer of the original transaction for refund transactions. Coincides with <em>SuccessfulPayment.telegram_payment_charge_id</em> for successful incoming payments from users.
* @param string $id Unique identifier of the transaction. Coincides with the identifier of the original transaction for refund transactions. Coincides with <em>SuccessfulPayment.telegram_payment_charge_id</em> for successful incoming payments from users.
* @param int $amount Number of Telegram Stars transferred by the transaction
* @param int $date Date the transaction was created in Unix time
* @param TransactionPartner $source <em>Optional</em>. Source of an incoming transaction (e.g., a user purchasing goods or services, Fragment refunding a failed withdrawal). Only for incoming transactions
Expand Down

0 comments on commit 573a3b9

Please sign in to comment.