Fix not all possible destinations shown to forward a message.
This commit is contained in:
parent
7a8d1a12c7
commit
4222cc674d
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ function handleErrorMessage(code, message) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMessagesNeededForwardPermissions(messages) {
|
function getMessagesNeededForwardPermissions(messages) {
|
||||||
var neededPermissions = ["can_send_messages"]
|
var neededPermissions = ["can_send_basic_messages"]
|
||||||
|
|
||||||
var mediaMessageTypes = ["messageAudio", "messageDocument", "messagePhoto", "messageVideo", "messageVideoNote", "messageVoiceNote"]
|
var mediaMessageTypes = ["messageAudio", "messageDocument", "messagePhoto", "messageVideo", "messageVideoNote", "messageVoiceNote"]
|
||||||
var otherMessageTypes = ["messageAnimation", "messageGame", "messageSticker"]
|
var otherMessageTypes = ["messageAnimation", "messageGame", "messageSticker"]
|
||||||
|
|
Loading…
Reference in a new issue