Layer 220
constructor
textPhone#1ccb966a text:RichText phone:string = RichText;

Parameters

Name Type Description
Text RichText Text
Phone string Phone number

Returns

RichText

Gogram Example

// Creating TextPhone constructor
obj := &tg.TextPhone{
    Text: &tg.RichText{},
    Phone: "...",
}