HandlesActions
in
Table of Contents
Methods
- acknowledgeAction() : ResponseInterface|null
- Acknowledge the action to the platform (e.g. Telegram answerCallbackQuery).
- parseAction() : Author, actionId: string, value: ?string, threadId: string, messageId: string, userId: string, isBot: bool, isMe: bool, triggerId: ?string, raw: mixed, callbackQueryId: ?string, originId: ?string}|null
Methods
acknowledgeAction()
Acknowledge the action to the platform (e.g. Telegram answerCallbackQuery).
public
acknowledgeAction(string|null $callbackQueryId) : ResponseInterface|null
Parameters
- $callbackQueryId : string|null
Return values
ResponseInterface|nullparseAction()
public
parseAction(ServerRequestInterface $request) : Author, actionId: string, value: ?string, threadId: string, messageId: string, userId: string, isBot: bool, isMe: bool, triggerId: ?string, raw: mixed, callbackQueryId: ?string, originId: ?string}|null
Parameters
- $request : ServerRequestInterface