Added attributes

This commit is contained in:
Daniil Gentili 2016-12-20 13:32:11 +01:00
parent e415ef0eda
commit a6bf4f668d
814 changed files with 838 additions and 1 deletions

View File

@ -25,6 +25,7 @@ $TL = new \danog\MadelineProto\TL\TL([
file_put_contents('docs/index.md', '---
title: MadelineProto documentation
description: PHP implementation of telegram\'s MTProto protocol
---
'.file_get_contents('README.md'));
@ -34,6 +35,7 @@ chdir(__DIR__.'/docs/API_docs');
file_put_contents('index.md', '---
title: MadelineProto API documentation (layer 57)
description: MadelineProto API documentation (layer 57)
---
# MadelineProto API documentation (layer 57)
@ -125,6 +127,7 @@ foreach ($TL->methods->method as $key => $method) {
}
$header = '---
title: '.$method.'
description: '.$method.' parameters, return type and example
---
## Method: '.str_replace('_', '\_', $method).'
[Back to methods index](index.md)
@ -174,6 +177,7 @@ foreach ($methods as $method => &$value) {
file_put_contents('methods/index.md', '---
title: Methods
description: List of methods
---
# Methods
[Back to API documentation index](..)
@ -277,6 +281,7 @@ foreach ($TL->constructors->predicate as $key => $constructor) {
$header = '---
title: '.$constructor.'
description: '.$constructor.' attributes, type and example
---
## Constructor: '.str_replace('_', '\_', $constructor).'
[Back to constructors index](index.md)
@ -311,7 +316,11 @@ foreach ($constructors as $method => &$value) {
$value = $br.$value;
$last_namespace = $new_namespace;
}
file_put_contents('constructors/index.md', '# Constructors
file_put_contents('constructors/index.md', '---
title: Types
description: List of constructors
---
# Constructors
[Back to API documentation index](..)
@ -352,6 +361,7 @@ foreach ($types as $type => $keys) {
}
$header = '---
title: '.$type.'
description: constructors of type '.$type.'
---
## Type: '.str_replace('_', '\_', $type).'
[Back to types index](index.md)
@ -369,6 +379,7 @@ title: '.$type.'
file_put_contents('types/index.md', '---
title: Types
description: List of types
---
# Types
[Back to API documentation index](..)
@ -380,6 +391,7 @@ title: Types
file_put_contents('types/string.md', '---
title: string
description: A string of variable length
---
## Type: string
[Back to constructor index](index.md)
@ -387,6 +399,7 @@ title: string
A string of variable length.');
file_put_contents('types/bytes.md', '---
title: bytes
description: A string of variable length
---
## Type: bytes
[Back to constructor index](index.md)
@ -395,6 +408,7 @@ A string of variable length.');
file_put_contents('types/int.md', '---
title: integer
description: A 32 bit signed integer ranging from -2147483647 to 2147483647
---
## Type: int
[Back to constructor index](index.md)
@ -403,6 +417,7 @@ A 32 bit signed integer ranging from `-2147483647` to `2147483647`.');
file_put_contents('types/long.md', '---
title: long
description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807
---
## Type: long
[Back to constructor index](index.md)
@ -411,6 +426,7 @@ A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775
file_put_contents('types/double.md', '---
title: double
description: A double precision floating point number
---
## Type: double
[Back to constructor index](index.md)
@ -419,6 +435,7 @@ A double precision floating point number, single precision can also be used (flo
file_put_contents('types/!X.md', '---
title: !X
description: Represents a TL serialized payload
---
## Type: !X
[Back to constructor index](index.md)
@ -427,6 +444,7 @@ Represents a TL serialized payload.');
file_put_contents('types/X.md', '---
title: X
description: Represents a TL serialized payload
---
## Type: X
[Back to constructor index](index.md)
@ -435,6 +453,7 @@ Represents a TL serialized payload.');
file_put_contents('constructors/boolFalse.md', '---
title: boolFalse
description: Represents a boolean with value equal to false
---
# boolFalse
[Back to constructor index](index.md)
@ -443,6 +462,7 @@ Represents a boolean with value equal to `false`.');
file_put_contents('constructors/boolTrue.md', '---
title: boolTrue
description: Represents a boolean with value equal to true
---
# boolTrue
[Back to constructor index](index.md)
@ -451,6 +471,7 @@ Represents a boolean with value equal to `true`.');
file_put_contents('types/Bool.md', '---
title: Bool
description: Represents a boolean.
---
# Bool
[Back to types index](index.md)

View File

@ -1,5 +1,6 @@
---
title: accountDaysTTL
description: accountDaysTTL attributes, type and example
---
## Constructor: accountDaysTTL
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: account_authorizations
description: account_authorizations attributes, type and example
---
## Constructor: account\_authorizations
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: account_noPassword
description: account_noPassword attributes, type and example
---
## Constructor: account\_noPassword
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: account_password
description: account_password attributes, type and example
---
## Constructor: account\_password
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: account_passwordInputSettings
description: account_passwordInputSettings attributes, type and example
---
## Constructor: account\_passwordInputSettings
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: account_passwordSettings
description: account_passwordSettings attributes, type and example
---
## Constructor: account\_passwordSettings
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: account_privacyRules
description: account_privacyRules attributes, type and example
---
## Constructor: account\_privacyRules
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_authorization
description: auth_authorization attributes, type and example
---
## Constructor: auth\_authorization
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_checkedPhone
description: auth_checkedPhone attributes, type and example
---
## Constructor: auth\_checkedPhone
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_codeTypeCall
description: auth_codeTypeCall attributes, type and example
---
## Constructor: auth\_codeTypeCall
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_codeTypeFlashCall
description: auth_codeTypeFlashCall attributes, type and example
---
## Constructor: auth\_codeTypeFlashCall
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_codeTypeSms
description: auth_codeTypeSms attributes, type and example
---
## Constructor: auth\_codeTypeSms
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_exportedAuthorization
description: auth_exportedAuthorization attributes, type and example
---
## Constructor: auth\_exportedAuthorization
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_passwordRecovery
description: auth_passwordRecovery attributes, type and example
---
## Constructor: auth\_passwordRecovery
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_sentCode
description: auth_sentCode attributes, type and example
---
## Constructor: auth\_sentCode
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_sentCodeTypeApp
description: auth_sentCodeTypeApp attributes, type and example
---
## Constructor: auth\_sentCodeTypeApp
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_sentCodeTypeCall
description: auth_sentCodeTypeCall attributes, type and example
---
## Constructor: auth\_sentCodeTypeCall
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_sentCodeTypeFlashCall
description: auth_sentCodeTypeFlashCall attributes, type and example
---
## Constructor: auth\_sentCodeTypeFlashCall
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: auth_sentCodeTypeSms
description: auth_sentCodeTypeSms attributes, type and example
---
## Constructor: auth\_sentCodeTypeSms
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: authorization
description: authorization attributes, type and example
---
## Constructor: authorization
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: boolFalse
description: Represents a boolean with value equal to false
---
# boolFalse
[Back to constructor index](index.md)

View File

@ -1,5 +1,6 @@
---
title: boolTrue
description: Represents a boolean with value equal to true
---
# boolTrue
[Back to constructor index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botCommand
description: botCommand attributes, type and example
---
## Constructor: botCommand
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInfo
description: botInfo attributes, type and example
---
## Constructor: botInfo
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineMediaResult
description: botInlineMediaResult attributes, type and example
---
## Constructor: botInlineMediaResult
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineMessageMediaAuto
description: botInlineMessageMediaAuto attributes, type and example
---
## Constructor: botInlineMessageMediaAuto
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineMessageMediaContact
description: botInlineMessageMediaContact attributes, type and example
---
## Constructor: botInlineMessageMediaContact
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineMessageMediaGeo
description: botInlineMessageMediaGeo attributes, type and example
---
## Constructor: botInlineMessageMediaGeo
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineMessageMediaVenue
description: botInlineMessageMediaVenue attributes, type and example
---
## Constructor: botInlineMessageMediaVenue
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineMessageText
description: botInlineMessageText attributes, type and example
---
## Constructor: botInlineMessageText
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: botInlineResult
description: botInlineResult attributes, type and example
---
## Constructor: botInlineResult
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channel
description: channel attributes, type and example
---
## Constructor: channel
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelForbidden
description: channelForbidden attributes, type and example
---
## Constructor: channelForbidden
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelFull
description: channelFull attributes, type and example
---
## Constructor: channelFull
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelMessagesFilter
description: channelMessagesFilter attributes, type and example
---
## Constructor: channelMessagesFilter
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelMessagesFilterEmpty
description: channelMessagesFilterEmpty attributes, type and example
---
## Constructor: channelMessagesFilterEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipant
description: channelParticipant attributes, type and example
---
## Constructor: channelParticipant
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantCreator
description: channelParticipantCreator attributes, type and example
---
## Constructor: channelParticipantCreator
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantEditor
description: channelParticipantEditor attributes, type and example
---
## Constructor: channelParticipantEditor
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantKicked
description: channelParticipantKicked attributes, type and example
---
## Constructor: channelParticipantKicked
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantModerator
description: channelParticipantModerator attributes, type and example
---
## Constructor: channelParticipantModerator
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantSelf
description: channelParticipantSelf attributes, type and example
---
## Constructor: channelParticipantSelf
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantsAdmins
description: channelParticipantsAdmins attributes, type and example
---
## Constructor: channelParticipantsAdmins
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantsBots
description: channelParticipantsBots attributes, type and example
---
## Constructor: channelParticipantsBots
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantsKicked
description: channelParticipantsKicked attributes, type and example
---
## Constructor: channelParticipantsKicked
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelParticipantsRecent
description: channelParticipantsRecent attributes, type and example
---
## Constructor: channelParticipantsRecent
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelRoleEditor
description: channelRoleEditor attributes, type and example
---
## Constructor: channelRoleEditor
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelRoleEmpty
description: channelRoleEmpty attributes, type and example
---
## Constructor: channelRoleEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channelRoleModerator
description: channelRoleModerator attributes, type and example
---
## Constructor: channelRoleModerator
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channels_channelParticipant
description: channels_channelParticipant attributes, type and example
---
## Constructor: channels\_channelParticipant
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: channels_channelParticipants
description: channels_channelParticipants attributes, type and example
---
## Constructor: channels\_channelParticipants
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chat
description: chat attributes, type and example
---
## Constructor: chat
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatEmpty
description: chatEmpty attributes, type and example
---
## Constructor: chatEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatForbidden
description: chatForbidden attributes, type and example
---
## Constructor: chatForbidden
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatFull
description: chatFull attributes, type and example
---
## Constructor: chatFull
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatInvite
description: chatInvite attributes, type and example
---
## Constructor: chatInvite
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatInviteAlready
description: chatInviteAlready attributes, type and example
---
## Constructor: chatInviteAlready
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatInviteEmpty
description: chatInviteEmpty attributes, type and example
---
## Constructor: chatInviteEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatInviteExported
description: chatInviteExported attributes, type and example
---
## Constructor: chatInviteExported
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatParticipant
description: chatParticipant attributes, type and example
---
## Constructor: chatParticipant
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatParticipantAdmin
description: chatParticipantAdmin attributes, type and example
---
## Constructor: chatParticipantAdmin
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatParticipantCreator
description: chatParticipantCreator attributes, type and example
---
## Constructor: chatParticipantCreator
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatParticipants
description: chatParticipants attributes, type and example
---
## Constructor: chatParticipants
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatParticipantsForbidden
description: chatParticipantsForbidden attributes, type and example
---
## Constructor: chatParticipantsForbidden
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatPhoto
description: chatPhoto attributes, type and example
---
## Constructor: chatPhoto
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: chatPhotoEmpty
description: chatPhotoEmpty attributes, type and example
---
## Constructor: chatPhotoEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: config
description: config attributes, type and example
---
## Constructor: config
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contact
description: contact attributes, type and example
---
## Constructor: contact
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contactBlocked
description: contactBlocked attributes, type and example
---
## Constructor: contactBlocked
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contactLinkContact
description: contactLinkContact attributes, type and example
---
## Constructor: contactLinkContact
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contactLinkHasPhone
description: contactLinkHasPhone attributes, type and example
---
## Constructor: contactLinkHasPhone
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contactLinkNone
description: contactLinkNone attributes, type and example
---
## Constructor: contactLinkNone
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contactLinkUnknown
description: contactLinkUnknown attributes, type and example
---
## Constructor: contactLinkUnknown
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contactStatus
description: contactStatus attributes, type and example
---
## Constructor: contactStatus
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_blocked
description: contacts_blocked attributes, type and example
---
## Constructor: contacts\_blocked
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_blockedSlice
description: contacts_blockedSlice attributes, type and example
---
## Constructor: contacts\_blockedSlice
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_contacts
description: contacts_contacts attributes, type and example
---
## Constructor: contacts\_contacts
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_contactsNotModified
description: contacts_contactsNotModified attributes, type and example
---
## Constructor: contacts\_contactsNotModified
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_found
description: contacts_found attributes, type and example
---
## Constructor: contacts\_found
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_importedContacts
description: contacts_importedContacts attributes, type and example
---
## Constructor: contacts\_importedContacts
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_link
description: contacts_link attributes, type and example
---
## Constructor: contacts\_link
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_resolvedPeer
description: contacts_resolvedPeer attributes, type and example
---
## Constructor: contacts\_resolvedPeer
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_topPeers
description: contacts_topPeers attributes, type and example
---
## Constructor: contacts\_topPeers
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: contacts_topPeersNotModified
description: contacts_topPeersNotModified attributes, type and example
---
## Constructor: contacts\_topPeersNotModified
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: dcOption
description: dcOption attributes, type and example
---
## Constructor: dcOption
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: dialog
description: dialog attributes, type and example
---
## Constructor: dialog
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: disabledFeature
description: disabledFeature attributes, type and example
---
## Constructor: disabledFeature
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: document
description: document attributes, type and example
---
## Constructor: document
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeAnimated
description: documentAttributeAnimated attributes, type and example
---
## Constructor: documentAttributeAnimated
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeAudio
description: documentAttributeAudio attributes, type and example
---
## Constructor: documentAttributeAudio
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeFilename
description: documentAttributeFilename attributes, type and example
---
## Constructor: documentAttributeFilename
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeHasStickers
description: documentAttributeHasStickers attributes, type and example
---
## Constructor: documentAttributeHasStickers
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeImageSize
description: documentAttributeImageSize attributes, type and example
---
## Constructor: documentAttributeImageSize
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeSticker
description: documentAttributeSticker attributes, type and example
---
## Constructor: documentAttributeSticker
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentAttributeVideo
description: documentAttributeVideo attributes, type and example
---
## Constructor: documentAttributeVideo
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: documentEmpty
description: documentEmpty attributes, type and example
---
## Constructor: documentEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: draftMessage
description: draftMessage attributes, type and example
---
## Constructor: draftMessage
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: draftMessageEmpty
description: draftMessageEmpty attributes, type and example
---
## Constructor: draftMessageEmpty
[Back to constructors index](index.md)

View File

@ -1,5 +1,6 @@
---
title: encryptedChat
description: encryptedChat attributes, type and example
---
## Constructor: encryptedChat
[Back to constructors index](index.md)

Some files were not shown because too many files have changed in this diff Show More