mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 20:56:54 +01:00
24 lines
527 B
Markdown
24 lines
527 B
Markdown
---
|
|
title: acceptCall
|
|
description: Accepts incoming call
|
|
---
|
|
## Method: acceptCall
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Accepts incoming call
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|call\_id|[int](../types/int.md) | Yes|Call identifier|
|
|
|protocol|[callProtocol](../constructors/callProtocol.md) | Yes|Description of supported by the client call protocols|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|