Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 06 02:28

    vluzrmos on master

    Add User lookupByEmail method Add comment to lookupByEmail me… Merge pull request #24 from fed… (compare)

  • Sep 06 02:28
    vluzrmos closed #24
  • Sep 06 02:27

    vluzrmos on master

    + Ability to update options e.g… Merge pull request #17 from ner… (compare)

  • Sep 06 02:27
    vluzrmos closed #17
  • Aug 31 15:59
    fedemramato opened #24
  • May 18 11:39
    vluzrmos closed #19
  • May 16 12:46
    stgalkin closed #23
  • May 16 12:45
    stgalkin opened #23
  • May 06 18:15
    reillychase opened #22
  • Nov 27 2018 20:14
    lucasvieirawerner commented #20
  • Nov 26 2018 14:07
    freescout-helpdesk opened #21
  • Jan 16 2018 18:44
    cschoeni opened #20
  • Jan 06 2018 09:26
    es02 opened #19
  • Dec 20 2017 13:42
    vlad-provectus opened #18
  • Oct 16 2017 19:24
    nerdo opened #17
  • Apr 28 2017 09:56
    aftabnaveed edited #16
  • Apr 28 2017 09:53
    aftabnaveed opened #16
  • Mar 11 2017 03:55
    vluzrmos closed #15
  • Mar 11 2017 03:55
    vluzrmos commented #15
  • Mar 11 2017 03:52
    vluzrmos commented #14
Muhammad Adel
Could you help me by telling how to get Slack user status on Laravel?
Vagner Luz do Carmo
@d3vma to get a list of users with theirs info, you can do slack('user')->lists()
but, with you want to know if a user is logged in, you can do slack('rtm')>start()
Vagner Luz do Carmo
that will return an array, you should get the index "users"
like slack('rtm')->start()->users
Gareth Cozens
Hey Vagner, Quick question. When sending a message the newline (\n) is being ignored and is sent as plain text. I cant see any encoding being done on ourside. Does the parse argument affect this?
Gareth Cozens
Dont stress. figured it out. Not sure if it was because I stored the message in a TEXT MYSQL field or if I turned parse none/full.
Vagner Luz do Carmo
Ok, let me know if you figure it out
Gareth Cozens
I think the new line needs to be separated with a space , i.e. \n\n wont parse.
Vagner Luz do Carmo
In my tests, it works fine:
slack('chat')->message('#general', "New\nLine");
(note double quotes)
if that "\n" is inside the message (plain text) you should replaceit,
$message = preg_replace('/\\n/', "\n", $message);
(double quotes)
Gareth Cozens
Yeah figured that out over the weeked. It was much easier to store the message in the DB as a TEXT field. THanks for the heads up
Chris Deaton
Anyone running into this issue? Target [Vluzrmos\SlackApi\Contracts\SlackUser] is not instantiable while building
Hi There ,
I just got email from slack. I am using vluzrmos slack api
On February 19, 2020, Slack will end support for TLS versions 1.0 and 1.1. Your organization has been identified as using an unsupported version of TLS. If you don't upgrade to TLS 1.2, requests sent to any Slack service will fail.
TLS (Transport Layer Security) enables a secure connection between two web-based applications that share information – like your IT systems and Slack. This shift aligns with industry best practices for security and data integrity.
Here's how to continue using Slack without interruption:
Identify which parts of your organization are using an unsupported version of TLS
Ensure your organization is using the latest version of Slack on desktop and mobile, or in a supported browser version
All developers who are owners of affected apps or integrations have also been contacted with upgrade instructions
We're here to help! Learn more about the transition to TLS 1.2 in our Help Center, and if you have any unanswered questions simply email feedback@slack.com.