broidHQ / broid-kit

Bot framework powered by Broid
Other
60 stars 9 forks source link

Group vs Person #12

Open fungiboletus opened 7 years ago

fungiboletus commented 7 years ago

Hi,

I think it could be interesting to have a short description of the difference between Group vs Person.

Actually, I thought I had token issues for half a hour, but I was just listening for Group instead of Person using Messenger. I did check the source code of @droid/messenger to see that I had to use Person instead.

tenorok commented 6 years ago

Really, what the difference?

And does we have a difference when send data?

bot.sendText('message', {
    target: {
        id: '635580',
        type: 'Person' // or 'Group'?
    },
});