-
Using telegram you can choose which identity you want to send your message with how can I do that with gramjs? |
Beta Was this translation helpful? Give feedback.
Answered by
rojvv
Aug 25, 2022
Replies: 1 comment 2 replies
-
Seems like the helper methods currently don't support this parameter, but you can always use raw methods, like this: await client.invoke(
new Api.messages.SendMessage({
peer: "chat to send the message to",
message: "message text",
sendAs: "chat to send the message as",
}),
); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
foodornt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like the helper methods currently don't support this parameter, but you can always use raw methods, like this: