Layer 228
constructor
smsJob#e6a1eeb8 job_id:string phone_number:string text:string = SmsJob;

Parameters

Name Type Description
JobId string Job ID
PhoneNumber string Destination phone number
Text string Text

Returns

SmsJob

Gogram Example

// Creating SmsJobObj constructor
obj := &tg.SmsJobObj{
    JobId: "example",
    PhoneNumber: "+15551234567",
    Text: "Hello!",
}