Layer 220
TextUrl
Link
constructor
textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | RichText | Text of link |
| Url | string | Webpage HTTP URL |
| WebpageId | long | If a preview was already generated for the page, the page ID |
Returns
RichTextGogram Example
// Creating TextUrl constructor obj := &tg.TextUrl{ Text: &tg.RichText{}, Url: "...", WebpageId: int64(0), }