Layer 231
ToncenterStreamingUrlObj
Temporary URL for the TON Center streaming API.
constructor
toncenter.streamingUrl#19887601 url:string expires:int = toncenter.StreamingUrl;
Parameters
| Name | Type | Description |
|---|---|---|
| Url | string | Streaming URL |
| Expires | int | When the URL expires |
Returns
toncenter.StreamingUrlGogram Example
// Creating ToncenterStreamingUrlObj constructor obj := &tg.ToncenterStreamingUrlObj{ Url: "https://example.com", Expires: 42, }