26 lines
721 B
Markdown
26 lines
721 B
Markdown
---
|
|
title: callStateDiscarded
|
|
description: Call has ended successfully
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: callStateDiscarded
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Call has ended successfully
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|reason|[CallDiscardReason](../types/CallDiscardReason.md) | Optional|A reason, why call has ended|
|
|
|need\_rating|[Bool](../types/Bool.md) | Yes|If true, call rating should be sent to the server|
|
|
|need\_debug|[Bool](../types/Bool.md) | Yes|If true, call debug should be sent to the server|
|
|
|
|
|
|
|
|
### Type: [CallState](../types/CallState.md)
|
|
|
|
|