41 lines
945 B
Markdown
41 lines
945 B
Markdown
|
---
|
||
|
title: messageInteractionCounters
|
||
|
description: Message interaction counters
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: messageInteractionCounters
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Message interaction counters
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|msg\_id|[int](../types/int.md) | Yes|Message ID|
|
||
|
|views|[int](../types/int.md) | Yes|Views|
|
||
|
|forwards|[int](../types/int.md) | Yes|Number of times this message was forwarded|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [MessageInteractionCounters](../types/MessageInteractionCounters.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$messageInteractionCounters = ['_' => 'messageInteractionCounters', 'msg_id' => int, 'views' => int, 'forwards' => int];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
messageInteractionCounters={_='messageInteractionCounters', msg_id=int, views=int, forwards=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|