MadelineProtoDocs/docs/API_docs/constructors/messageInteractionCounters.md

41 lines
945 B
Markdown
Raw Normal View History

2020-04-03 14:11:09 +02:00
---
title: messageInteractionCounters
2020-06-16 17:50:25 +02:00
description: Message interaction counters
2020-04-03 14:11:09 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageInteractionCounters
[Back to constructors index](index.md)
2020-06-16 17:50:25 +02:00
Message interaction counters
2020-04-03 14:11:09 +02:00
### Attributes:
2020-06-16 17:50:25 +02:00
| 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|
2020-04-03 14:11:09 +02:00
### 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}
```