Telegram
Table of Contents
Methods
- __construct() : mixed
- sendOrderNotification() : void
- Send message to telegram about order
- sendPaymentPaidNotification() : void
- Send message to telegram about payment is paid
- sendShipmentDeductedNotification() : void
- Send message to telegram about shipment is shipped
- sendShipmentReadyNotification() : void
- Send message to telegram about shipment is ready
Methods
__construct()
public
__construct() : mixed
sendOrderNotification()
Send message to telegram about order
public
sendOrderNotification(Order $order) : void
Parameters
- $order : Order
sendPaymentPaidNotification()
Send message to telegram about payment is paid
public
sendPaymentPaidNotification(Payment $payment) : void
Parameters
- $payment : Payment
sendShipmentDeductedNotification()
Send message to telegram about shipment is shipped
public
sendShipmentDeductedNotification(Shipment $shipment) : void
Parameters
- $shipment : Shipment
sendShipmentReadyNotification()
Send message to telegram about shipment is ready
public
sendShipmentReadyNotification(Shipment $shipment) : void
Parameters
- $shipment : Shipment