Layer 224
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

Bool

Gogram Example

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

    // Optional fields:
    // Error: "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.