MadelineProtoDocs/old_docs/API_docs_v102/constructors/messages_dhConfig.md
2019-06-24 15:45:02 +02:00

855 B

title description image
messages.dhConfig Dh config https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.dhConfig

Back to constructors index

Dh config

Attributes:

Name Type Required Description
g int Yes G
p bytes Yes P
version int Yes Version
random bytes Yes Random

Type: messages_DhConfig

Example:

$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes'];

Or, if you're into Lua:

messages_dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'}