-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from nutgram/bot-api-6.6
- Loading branch information
Showing
37 changed files
with
496 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ | |
*/ | ||
abstract class Conversation | ||
{ | ||
|
||
/** | ||
* @var bool | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
*/ | ||
trait GlobalCacheProxy | ||
{ | ||
|
||
/** | ||
* @param $key | ||
* @param null $default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
|
||
class Polling implements RunningMode | ||
{ | ||
|
||
/** | ||
* @param Nutgram $bot | ||
* @throws InvalidArgumentException | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
|
||
class Webhook implements RunningMode | ||
{ | ||
|
||
/** | ||
* @var array|string[] | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace SergiX44\Nutgram\Telegram\Attributes; | ||
|
||
class StickerFormat extends BaseEnum | ||
{ | ||
public const STATIC = 'static'; | ||
public const ANIMATED = 'animated'; | ||
public const VIDEO = 'video'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
namespace SergiX44\Nutgram\Telegram\Attributes; | ||
|
||
class StickerType extends BaseEnum | ||
{ | ||
public const REGULAR = 'regular'; | ||
public const MASK = 'mask'; | ||
public const CUSTOM_EMOJI = 'custom_emoji'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace SergiX44\Nutgram\Telegram\Types\Description; | ||
|
||
use SergiX44\Nutgram\Telegram\Types\BaseType; | ||
|
||
/** | ||
* This object represents the bot's description. | ||
* @see https://core.telegram.org/bots/api#botdescription | ||
*/ | ||
class BotDescription extends BaseType | ||
{ | ||
/** | ||
* The bot's description | ||
*/ | ||
public string $description; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace SergiX44\Nutgram\Telegram\Types\Description; | ||
|
||
use SergiX44\Nutgram\Telegram\Types\BaseType; | ||
|
||
/** | ||
* This object represents the bot's short description. | ||
* @see https://core.telegram.org/bots/api#botshortdescription | ||
*/ | ||
class BotShortDescription extends BaseType | ||
{ | ||
/** | ||
* The bot's short description | ||
*/ | ||
public string $short_description; | ||
} |
Oops, something went wrong.