Message.view()#
- Message.view()#
Bound method view of
Message
.Use as a shortcut for:
await client.view_messages( chat_id=message.chat.id, message_ids=message_id )
Example
await message.view()
- Parameters:
force_read (
bool
, optional) – Pass True to mark as read the specified messages and also increment the view counter.- Returns:
True on success.
- Raises:
RPCError – In case of a Telegram RPC error.