ReplyInlineMarkup

class pyrogram.raw.types.ReplyInlineMarkup

Bot or inline keyboard

Constructor of ReplyMarkup.

Details:
  • Layer: 223

  • ID: 48A30254

Parameters:

rows (List of KeyboardButtonRow) – Bot or inline keyboard rows

TL Schema

replyInlineMarkup#48a30254
rows:Vector<KeyboardButtonRow>

= ReplyMarkup

Parameter Tree

ReplyInlineMarkup
└── rowsVector < KeyboardButtonRow >
└── buttonsVector < KeyboardButton >
├── KeyboardButton
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ └── textstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ └── urlstring
│ ├── requires_passwordtrue (optional)
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ └── databytes
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ └── textstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ └── textstring
│ ├── same_peertrue (optional)
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ ├── querystring
│ └── peer_typesVector < InlineQueryPeerType > (optional)
│ ├── InlineQueryPeerTypePM
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ └── textstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ └── textstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ ├── fwd_textstring (optional)
│ ├── urlstring
│ └── button_idint
│ ├── request_write_accesstrue (optional)
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ ├── fwd_textstring (optional)
│ ├── urlstring
│ └── botInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ └── InputUserFromMessage
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── quizBool (optional)
│ └── textstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ └── user_idInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ └── InputUserFromMessage
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ └── user_idlong
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ └── urlstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ └── urlstring
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ ├── button_idint
│ ├── peer_typeRequestPeerType
│ │ ├── RequestPeerTypeUser
│ │ ├── RequestPeerTypeChat
│ │ └── RequestPeerTypeBroadcast
│ └── max_quantityint
│ ├── name_requestedtrue (optional)
│ ├── username_requestedtrue (optional)
│ ├── photo_requestedtrue (optional)
│ ├── styleKeyboardButtonStyle (optional)
│ │ └── KeyboardButtonStyle
│ ├── textstring
│ ├── button_idint
│ ├── peer_typeRequestPeerType
│ │ ├── RequestPeerTypeUser
│ │ ├── RequestPeerTypeChat
│ │ └── RequestPeerTypeBroadcast
│ └── max_quantityint
├── styleKeyboardButtonStyle (optional)
│ └── KeyboardButtonStyle
├── textstring
└── copy_textstring

Example

ReplyInlineMarkup(
    rows=[
            KeyboardButtonRow(buttons=[
                        KeyboardButtonUrl(
                            text="Open",
                            url="https://google.com"
                        )
                    ])
        ],
)