yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
Public Member Functions | Private Attributes | List of all members
yatbcpp::ForceReply Class Reference

#include "ForceReply.h"

Inheritance diagram for yatbcpp::ForceReply:
Inheritance graph
[legend]
Collaboration diagram for yatbcpp::ForceReply:
Collaboration graph
[legend]

Public Member Functions

 ForceReply ()
 
 ForceReply (const ForceReply &ForceReply)
 
void setSelective (const std::optional< bool > &selective)
 
bool isForce_reply () const
 
const std::optional< bool > & getSelective () const
 

Private Attributes

bool force_reply
 
std::optional< bool > selective
 

Detailed Description

See also https://core.telegram.org/bots/api#forcereply

Definition at line 9 of file ForceReply.h.

Constructor & Destructor Documentation

◆ ForceReply() [1/2]

ForceReply::ForceReply ( )

Definition at line 11 of file ForceReply.cc.

◆ ForceReply() [2/2]

ForceReply::ForceReply ( const ForceReply ForceReply)

Definition at line 17 of file ForceReply.cc.

Member Function Documentation

◆ getSelective()

const optional< bool > & ForceReply::getSelective ( ) const

Definition at line 40 of file ForceReply.cc.

◆ isForce_reply()

bool ForceReply::isForce_reply ( ) const

Definition at line 36 of file ForceReply.cc.

◆ setSelective()

void ForceReply::setSelective ( const std::optional< bool > &  selective)

Definition at line 28 of file ForceReply.cc.

Member Data Documentation

◆ force_reply

bool yatbcpp::ForceReply::force_reply
private

Definition at line 22 of file ForceReply.h.

◆ selective

std::optional<bool> yatbcpp::ForceReply::selective
private

Definition at line 23 of file ForceReply.h.


The documentation for this class was generated from the following files: