Layer 231
constructor
toncenter.streamingUrl#19887601 url:string expires:int = toncenter.StreamingUrl;

Parameters

Name Type Description
Url string Streaming URL
Expires int When the URL expires

Gogram Example

// Creating ToncenterStreamingUrlObj constructor
obj := &tg.ToncenterStreamingUrlObj{
    Url: "https://example.com",
    Expires: 42,
}