Layer 220
method Users
smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
JobId string Job ID.
Error flags.0?string If failed, the error.

Returns

Bool

Possible Errors

Code Type Description
400 SMSJOB_ID_INVALID The specified job ID is invalid.

Gogram Example

// SmsjobsFinishJob - using Params struct
result, err := client.SmsjobsFinishJob(&tg.SmsjobsFinishJobParams{
    JobId: "...",

    // Optional fields:
    // Error: "...",
})
if err != nil {
    // handle error
}
// result is *tg.Bool