Skip to content

bots.sendCustomRequest

Layer 225

Constructor ID: 0xaa2769ed
Returns: DataJSON

Parameters

NameTypeDescription
custom_methodstring
paramsDataJSON

Example

go
result, err := client.Raw(&tg.SendCustomRequestRequest{
    custom_method: "",
    params: nil, // DataJSON
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.