forceReply

open fun forceReply(inputFieldPlaceholder: String? = null, selective: Boolean? = null): Return

Add ForceReply markup to the TgAction<Return>.

Return

ActionReturn itself.

Parameters

inputFieldPlaceholder

The placeholder to be shown in the input field when the reply is active; 1-64 characters

selective

Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object;

  1. if the bot's message is a reply (has reply_to_message_id), sender of the original message.