Layer 231
WalletTransactionsObj
Wallet transaction history.
constructor
wallet.transactions#4322d5a5 flags:# balance:long transactions:Vector<WalletTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = wallet.Transactions;
Parameters
| Name | Type | Description |
|---|---|---|
| Balance | long | Current balance, in nanotons |
| Transactions | Vector<WalletTransaction> | The transactions |
| NextOffset | flags.0?string | Offset to pass to wallet. get Transactions to fetch the next page |
| Chats | Vector<Chat> | Mentioned chats |
| Users | Vector<User> | Mentioned users |
Returns
wallet.TransactionsGogram Example
// Creating WalletTransactionsObj constructor obj := &tg.WalletTransactionsObj{ Balance: int64(1234567890), Transactions: []tg.WalletTransaction{&tg.WalletTransactionObj{}}, Chats: []tg.Chat{&tg.ChatObj{}}, Users: []tg.User{&tg.UserObj{}}, // Optional fields: // NextOffset: "example", }