Layer 231
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

Gogram Example

// Creating WalletTonConnectChallengeObj constructor
obj := &tg.WalletTonConnectChallengeObj{
    Challenge: []byte{0x01, 0x02, 0x03},
    EventId: int64(1234567890),
}