Layer 220
TextPhone
Rich text linked to a phone number
constructor
textPhone#1ccb966a text:RichText phone:string = RichText;
Parameters
| Name | Type | Description |
|---|---|---|
| Text | RichText | Text |
| Phone | string | Phone number |
Returns
RichTextGogram Example
// Creating TextPhone constructor obj := &tg.TextPhone{ Text: &tg.RichText{}, Phone: "...", }