MadelineProtoDocs/old_docs/API_docs_v42/constructors/messageInteractionCounters.md

41 lines
945 B
Markdown
Raw Normal View History

2020-09-12 12:47:38 +02:00
---
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}
```