InputText: string | TextWithEntities

Type to be used as a parameter for methods that accept a formatted text with entities.

Can be either a plain string or an object with text and entities fields.