Skip to content

Commit

Permalink
copyMessage method in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PonomareVlad committed Jun 9, 2022
1 parent 2727895 commit bb6366d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ Use this method to send text messages.

Use this method to forward messages of any kind.

##### `copyMessage(<chat_id>, <from_chat_id>, <message_id>, {notification})`

Use this method to copy messages of any kind.

##### `deleteMessage(<chat_id>, <from_message_id>)`

Use this method to delete a message. A message can only be deleted if it was sent less than 48 hours ago. Any such sent outgoing message may be deleted. Additionally, if the bot is an administrator in a group chat, it can delete any message. If the bot is an administrator of a supergroup or channel, it can delete ordinary messages from any other user, including service messages about people added or removed from the chat. Returns *True* on success.
Expand Down

0 comments on commit bb6366d

Please sign in to comment.