Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data CallState
- = CallStatePending {
- is_created :: Maybe Bool
- is_received :: Maybe Bool
- | CallStateExchangingKeys
- | CallStateReady {
- protocol :: Maybe CallProtocol
- servers :: Maybe [CallServer]
- config :: Maybe Text
- encryption_key :: Maybe ByteString
- emojis :: Maybe [Text]
- allow_p2p :: Maybe Bool
- custom_parameters :: Maybe Text
- | CallStateHangingUp
- | CallStateDiscarded { }
- | CallStateError { }
- = CallStatePending {
Documentation
Describes the current call state
CallStatePending | The call is pending, waiting to be accepted by a user |
| |
CallStateExchangingKeys | The call has been answered and encryption keys are being exchanged |
CallStateReady | The call is ready to use |
| |
CallStateHangingUp | The call is hanging up after discardCall has been called |
CallStateDiscarded | The call has ended successfully |
| |
CallStateError | The call has ended with an error |