Layer 227
PhoneCallDiscarded
Indicates a discarded phone call, see here for more info on the full flow.
constructor
phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.6?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;
Parameters
| Name | Type | Description |
|---|---|---|
| NeedRating | flags .2? true | Whether the server required the user to rate the call |
| NeedDebug | flags .3? true | Whether the server required the client to send the libtgvoip call debug data |
| Video | flags .6? true | Whether the call was a video call |
| Id | long | Call ID |
| Reason | flags .0? PhoneCallDiscardReason | Why was the phone call discarded |
| Duration | flags .1? int | Duration of the phone call in seconds |
Returns
PhoneCallGogram Example
// Creating PhoneCallDiscarded constructor obj := &tg.PhoneCallDiscarded{ NeedRating: nil, NeedDebug: nil, Video: nil, Id: int64(1234567890), Reason: nil, Duration: nil, }