Skip to content

[Notifier] Support "Recipient" in LINE bot channel #58568

@pan93412

Description

@pan93412

Description

We can specify the user ID when sending push messages. It may be better to allow configuring the recipient dynamically.

I can be assigned for this.

Example

Implementation reference:

public function getRecipientId(): ?string
{
return $this->options['chat_id'] ?? null;
}
/**
* @return $this
*/
public function chatId(string $id): static
{
$this->options['chat_id'] = $id;
return $this;
}

$options['chat_id'] ??= $message->getRecipientId() ?: $this->chatChannel;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions