haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.CallState

Synopsis

Documentation

data CallState Source #

Describes the current call state

Constructors

CallStatePending

The call is pending, waiting to be accepted by a user

Fields

CallStateExchangingKeys

The call has been answered and encryption keys are being exchanged

CallStateReady

The call is ready to use

Fields

CallStateHangingUp

The call is hanging up after discardCall has been called

CallStateDiscarded

The call has ended successfully

Fields

CallStateError

The call has ended with an error

Fields

  • _error :: Maybe Error

    Error. An error with the code 4005000 will be returned if an outgoing call is missed because of an expired timeout

Instances

Instances details
FromJSON CallState Source # 
Instance details

Defined in TD.Data.CallState

Show CallState Source # 
Instance details

Defined in TD.Data.CallState

Eq CallState Source # 
Instance details

Defined in TD.Data.CallState

ShortShow CallState Source # 
Instance details

Defined in TD.Data.CallState