Layer 227
MessageActionPhoneCall
A phone call
constructor
messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Video | flags .2? true | Is this a video call? |
| CallId | long | Call ID |
| Reason | flags .0? PhoneCallDiscardReason | If the call has ended, the reason why it ended |
| Duration | flags .1? int | Duration of the call in seconds |
Returns
MessageActionGogram Example
// Creating MessageActionPhoneCall constructor obj := &tg.MessageActionPhoneCall{ Video: nil, CallId: int64(1234567890), Reason: nil, Duration: nil, }