70 lines
1.3 KiB
Markdown
70 lines
1.3 KiB
Markdown
---
|
|
title: danog\MadelineProto\MTProtoSession\AckHandler: Manages acknowledgement of messages.
|
|
description:
|
|
|
|
---
|
|
# `danog\MadelineProto\MTProtoSession\AckHandler`
|
|
[Back to index](../../../index.md)
|
|
|
|
> Author: Daniil Gentili <daniil@daniil.it>
|
|
|
|
|
|
Manages acknowledgement of messages.
|
|
|
|
|
|
|
|
|
|
---
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
|
|
## Method list:
|
|
* `ackOutgoingMessageId(string|int $message_id): bool`
|
|
* `gotResponseForOutgoingMessageId(string|int $message_id): bool`
|
|
* `ackIncomingMessageId(string|int $message_id): bool`
|
|
* `hasPendingCalls(): bool`
|
|
* `getPendingCalls(): array`
|
|
|
|
## Methods:
|
|
### `ackOutgoingMessageId(string|int $message_id): bool`
|
|
|
|
Acknowledge outgoing message ID.
|
|
|
|
|
|
Parameters:
|
|
* `$message_id`: `string|int` Message Id
|
|
|
|
|
|
|
|
### `gotResponseForOutgoingMessageId(string|int $message_id): bool`
|
|
|
|
We have gotten response for outgoing message ID.
|
|
|
|
|
|
Parameters:
|
|
* `$message_id`: `string|int` Message ID
|
|
|
|
|
|
|
|
### `ackIncomingMessageId(string|int $message_id): bool`
|
|
|
|
Acknowledge incoming message ID.
|
|
|
|
|
|
Parameters:
|
|
* `$message_id`: `string|int` Message ID
|
|
|
|
|
|
|
|
### `hasPendingCalls(): bool`
|
|
|
|
Check if there are some pending calls.
|
|
|
|
|
|
|
|
### `getPendingCalls(): array`
|
|
|
|
Get all pending calls (also clear pending state requests).
|
|
|
|
|
|
|
|
## Properties
|
|
* `$shared`: `\DataCenterConnection` |