36 reply_markup: Mapping[str, Any] |
None =
None,
38 """Deliver an already-filtered outbox item, returning its message id.
40 The returned ``message_id`` is what an operator reply's ``reply_to``
41 metadata resolves against when the inbound poller correlates a
42 structured reply to the question it answers (ยง4). *reply_markup*
43 (plan 236) is the already-built vocabulary keyboard, or ``None`` for a
44 plain send; the item's content is unchanged either way.
47 raw_value = self.
broker.retrieve(destination.credential_name)
50 result = transport.send_message(
51 destination.chat_id, item.content, reply_markup=reply_markup
55 message_id = result.get(
"message_id")
56 return str(message_id)
if message_id
is not None else None