Fix not all possible destinations shown to forward a message.
This commit is contained in:
parent
2fad48e359
commit
e0019d33d6
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,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