mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:26:57 +01:00
24 lines
558 B
Markdown
24 lines
558 B
Markdown
|
---
|
||
|
title: sendCustomRequest
|
||
|
description: Bots only. Sends custom request
|
||
|
---
|
||
|
## Method: sendCustomRequest
|
||
|
[Back to methods index](index.md)
|
||
|
|
||
|
|
||
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
||
|
|
||
|
|
||
|
Bots only. Sends custom request
|
||
|
|
||
|
### Params:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|method|[string](../types/string.md) | Yes|Method name|
|
||
|
|parameters|[string](../types/string.md) | Yes|JSON-serialized method parameters|
|
||
|
|
||
|
|
||
|
### Return type: [CustomRequestResult](../types/CustomRequestResult.md)
|
||
|
|