Skip to content

Messages with type of contact can not be handled #920

Closed
@imami

Description

@imami

Messages with type of contact does not resolve to any of SystemCommands or UserCommands.
so when a user shared his own contact, it can not be handled by this package.

Required Information

  • Operating system:
  • PHP version: 7.2
  • PHP Telegram Bot version: 0.55.1
  • Using MySQL database: no
  • Update Method: both Webhook and getUpdates

Expected behaviour

It should be processable by a Command (if exists).

Actual behaviour

This type of messages are not resolved to any command!

Steps to reproduce

  1. send a message with Keyboard, and a KeyboadButton with 'request_contact' => true
  2. Then you will received a message from user which is type of contact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions