Skip to content

Merge !993 break custom system command Newchatmembers.  #994

@panaceya

Description

@panaceya

💥 BC Break Report

Merge !993 break custom system command Newchatmembers.
Affected to all version started from 0.58.0 to 0.60.0

Required Information

? !
PHP Telegram Bot version > 0.57.0
PHP version 7.3.8
Update Method Webhook
Self-signed certificate no

Summary

this expression always false for Newchatmembers

if (($command_obj === null && $type === 'command')

Temporary fix

  • downgrade to 0.57.0
    or
  • add app/Commands/Newchatmembers.php (or another dir)
protected $usage = '/newchatmembers';

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions