Closed ahmadazizi closed 7 years ago
You're probably not using newest version of the library, in the latest version channel messages are handled by ChannelpostCommand.
Thanks, just solved. The version defined in composer was ^0.35 which may was as a result of old instructions.
If in a channel(not a group or supergroup) we send a /command , the command will be directed to GenericmessageCommand.php where in line 51 it tries a getFrom() on null which causes this error:
It shouldn't try getFrom() where in channel.