1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:26:56 +01:00
MadelineProto/docs/TD_docs/constructors/replyMarkupForceReply.md
2017-07-23 16:33:46 +02:00

978 B

title description
replyMarkupForceReply Instruct clients to force reply to this message

Constructor: replyMarkupForceReply

Back to constructors index

Instruct clients to force reply to this message

Attributes:

Name Type Required Description
personal Bool 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

Example:

$replyMarkupForceReply = ['_' => 'replyMarkupForceReply', 'personal' => Bool];

PWRTelegram json-encoded version:

{"_": "replyMarkupForceReply", "personal": Bool}

Or, if you're into Lua:

replyMarkupForceReply={_='replyMarkupForceReply', personal=Bool}