24 lines
531 B
Markdown
24 lines
531 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
|
||
|
|
||
|
### Parameters:
|
||
|
|
||
|
| 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)
|
||
|
|