Gets a message from a channel. Parameters ---------- channel_id: :class:`str` The id of the channel. message_id: :class:`str` The id of the message.
(self, channel_id: str, message_id: str)
| 482 | return await self.request("GET", f"channels/{channel_id}/messages", params=data) |
| 483 | |
| 484 | async def fetch_message(self, channel_id: str, message_id: str) -> MessagePayload: |
| 485 | """ |
| 486 | Gets a message from a channel. |
| 487 | |
| 488 | Parameters |
| 489 | ---------- |
| 490 | channel_id: :class:`str` |
| 491 | The id of the channel. |
| 492 | message_id: :class:`str` |
| 493 | The id of the message. |
| 494 | """ |
| 495 | return await self.request("GET", f"channels/{channel_id}/messages/{message_id}") |
| 496 | |
| 497 | async def edit_message( |
| 498 | self, |
no test coverage detected