Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

messages.SendMessage not working as expected #292

@Dhruv-Tara

Description

@Dhruv-Tara

I was trying to create a app for my project and when I used the SendMessage method it returned peer id invalid all the id and code was correct

api.call('messages.sendMessage', {
clear_draft: true,

peer: {
_: 'inputPeerChat',
chat_id : -1001844107989
},
message: 'Hello',
random_id: 1990,
})

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions