Layer 231
WalletTonConnectChallengeObj
Challenge for a TON Connect session.
constructor
wallet.tonConnectChallenge#4bc89693 challenge:bytes event_id:long = wallet.TonConnectChallenge;
Parameters
| Name | Type | Description |
|---|---|---|
| Challenge | bytes | Challenge to answer |
| EventId | long | Event ID to use for the connect event |
Returns
wallet.TonConnectChallengeGogram Example
// Creating WalletTonConnectChallengeObj constructor obj := &tg.WalletTonConnectChallengeObj{ Challenge: []byte{0x01, 0x02, 0x03}, EventId: int64(1234567890), }