8000 [Notifier] Support "Recipient" in LINE bot channel · Issue #58568 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
8000
[Notifier] Support "Recipient" in LINE bot channel #58568
Open
@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

    321F
    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0