Bitrix API

EventHandler

Table of Contents

Methods

saveTelegramUserCodeToSession()  : void
If request from telegram app save telegram user code to session
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
setTelegramTradingPlatform()  : EventResult
Change trading platform on telegram before save order

Methods

saveTelegramUserCodeToSession()

If request from telegram app save telegram user code to session

public static saveTelegramUserCodeToSession() : void

sendOrderNotification()

Send message to telegram about order

public static sendOrderNotification(Event $event) : void
Parameters
$event : Event

sendPaymentPaidNotification()

Send message to telegram about payment is paid

public static sendPaymentPaidNotification(Event $event) : void
Parameters
$event : Event

sendShipmentDeductedNotification()

Send message to telegram about shipment is shipped

public static sendShipmentDeductedNotification(Event $event) : void
Parameters
$event : Event

sendShipmentReadyNotification()

Send message to telegram about shipment is ready

public static sendShipmentReadyNotification(Event $event) : void
Parameters
$event : Event

setTelegramTradingPlatform()

Change trading platform on telegram before save order

public static setTelegramTradingPlatform(Event $event) : EventResult
Parameters
$event : Event
Return values
EventResult

        
On this page

Search results