Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

sendToGroup is deprecated - what is the new method to send to group ? #35

Closed
saikek opened this issue Mar 22, 2021 · 2 comments
Closed

Comments

@saikek
Copy link

saikek commented Mar 22, 2021

Hi,

Since sendToGroup is marked deprecated,
what is the new (or future) way to send messages to group?

Thank you.

@zzuutt
Copy link

zzuutt commented Mar 22, 2021

Hi,
to send a message to a group

TBMessage msgGroup;
msgGroup.chatId = idGroup;
myBot.sendMessage(msgGroup, contentTelegram);

@saikek
Copy link
Author

saikek commented Mar 22, 2021

Understood, thank you!

@saikek saikek closed this as completed Mar 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants