Layer 227
SmsjobsFinishJob
Finish an SMS job (official clients only).
method
Users
smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| JobId | string | Job ID. |
| Error | flags .0? string | If failed, the error. |
Returns
BoolGogram Example
// SmsjobsFinishJob - positional arguments result, err := client.SmsjobsFinishJob("Hello, World!", "Hello, World!") if err != nil { // handle error } // result is *tg.Bool
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | SMSJOB_ID_INVALID | The specified job ID is invalid. |