From edb02aae86541dcdea970da6c2f38aacb2d06c37 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 24 Aug 2020 13:15:34 +0200 Subject: [PATCH] Fix --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0334632..8ac4445 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ $subVersion = $fileId->getSubVersion(); // bot API file ID subversion, equivalen $dcId = $fileId->getDcId(); // On which datacenter is this file stored $type = $fileId->getType(); // File type -$typeName = $fileId->getType(); // File type (as string) +$typeName = $fileId->getTypeName(); // File type (as string) $id = $fileId->getId(); $accessHash = $fileId->getAccessHash(); @@ -64,7 +64,7 @@ For photosize source, see [here](#photosize-source). $uniqueFileId = UniqueFileId::fromUniqueBotAPI('AgADrQEAArE4rFE'); $type = $fileId->getType(); // Unique file type -$typeName = $fileId->getType(); // Unique file type (as string) +$typeName = $fileId->getTypeName(); // Unique file type (as string) $id = $uniqueFileId->getId(); $accessHash = $uniqueFileId->getAccessHash(); @@ -1696,9 +1696,5 @@ UniqueFileId::hasUrl( ): boolean ---- - --------- -> This document was automatically generated from source code comments on 2020-02-03 using [phpDocumentor](http://www.phpdoc.org/) and [cvuorinen/phpdoc-markdown-public](https://github.com/cvuorinen/phpdoc-markdown-public)