mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 23:47:48 +01:00
915 B
915 B
title | description |
---|---|
messages.dhConfig | messages_dhConfig attributes, type and example |
Constructor: messages.dhConfig
Attributes:
Name | Type | Required |
---|---|---|
g | int | Yes |
p | bytes | Yes |
version | int | Yes |
random | bytes | Yes |
Type: messages_DhConfig
Example:
$messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "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'}