Package org.drinkless.tdlib
Class TdApi.CallStateReady
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.CallState
-
- org.drinkless.tdlib.TdApi.CallStateReady
-
- Enclosing class:
- TdApi
public static class TdApi.CallStateReady extends TdApi.CallState
The call is ready to use.
-
-
Field Summary
Fields Modifier and Type Field Description booleanallowP2pTrue, if peer-to-peer connection is allowed by users privacy settings.StringconfigA JSON-encoded call config.static intCONSTRUCTORIdentifier uniquely determining type of the object.String[]emojisEncryption key emojis fingerprint.byte[]encryptionKeyCall encryption key.TdApi.CallProtocolprotocolCall protocols supported by the peer.TdApi.CallServer[]serversList of available call servers.
-
Constructor Summary
Constructors Constructor Description CallStateReady()The call is ready to use.CallStateReady(TdApi.CallProtocol protocol, TdApi.CallServer[] servers, String config, byte[] encryptionKey, String[] emojis, boolean allowP2p)The call is ready to use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
protocol
public TdApi.CallProtocol protocol
Call protocols supported by the peer.
-
servers
public TdApi.CallServer[] servers
List of available call servers.
-
config
public String config
A JSON-encoded call config.
-
encryptionKey
public byte[] encryptionKey
Call encryption key.
-
emojis
public String[] emojis
Encryption key emojis fingerprint.
-
allowP2p
public boolean allowP2p
True, if peer-to-peer connection is allowed by users privacy settings.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CallStateReady
public CallStateReady()
The call is ready to use.
-
CallStateReady
public CallStateReady(TdApi.CallProtocol protocol, TdApi.CallServer[] servers, String config, byte[] encryptionKey, String[] emojis, boolean allowP2p)
The call is ready to use.- Parameters:
protocol- Call protocols supported by the peer.servers- List of available call servers.config- A JSON-encoded call config.encryptionKey- Call encryption key.emojis- Encryption key emojis fingerprint.allowP2p- True, if peer-to-peer connection is allowed by users privacy settings.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-