mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 03:56:57 +01:00
38 lines
861 B
Markdown
38 lines
861 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, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
replyMarkupForceReply={_='replyMarkupForceReply', personal=Bool, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|