Layer 227
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

MessageAction

Gogram Example

// Creating MessageActionPhoneCall constructor
obj := &tg.MessageActionPhoneCall{
    Video: nil,
    CallId: int64(1234567890),
    Reason: nil,
    Duration: nil,
}