MadelineProto/docs/TD_docs/constructors/replyMarkupForceReply.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

45 lines
978 B
Markdown

---
title: replyMarkupForceReply
description: Instruct clients to force reply to this message
---
## Constructor: replyMarkupForceReply
[Back to constructors index](index.md)
Instruct clients to force reply to this message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|personal|[Bool](../types/Bool.md) | Yes|Forced reply is used automatically only for mentioned users or replied to chat user, for incoming messages it is true if and only if forced reply needs to be automatically showed to the current user|
### Type: [ReplyMarkup](../types/ReplyMarkup.md)
### Example:
```
$replyMarkupForceReply = ['_' => 'replyMarkupForceReply', 'personal' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "replyMarkupForceReply", "personal": Bool}
```
Or, if you're into Lua:
```
replyMarkupForceReply={_='replyMarkupForceReply', personal=Bool}
```