by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 14 10:58
    doroshenkoss opened #29
  • Feb 16 05:29

    vluzrmos on master

    Fix license (compare)

  • Feb 16 05:25

    vluzrmos on master

    Add laravel 6 support Merge pull request #26 from dor… (compare)

  • Feb 16 05:25
    vluzrmos closed #26
  • Jan 23 12:56
    jdrieghe commented #26
  • Jan 10 14:02
    doroshenkoss commented #26
  • Jan 10 14:00
    doroshenkoss synchronize #26
  • Dec 14 2019 12:48
    Pseudonick47 commented #28
  • Dec 09 2019 11:16
    doroshenkoss commented #26
  • Dec 06 2019 13:55
    vluzrmos commented #28
  • Dec 06 2019 13:55
    vluzrmos labeled #26
  • Dec 06 2019 13:55
    vluzrmos labeled #27
  • Dec 06 2019 13:54
    vluzrmos commented #27
  • Dec 06 2019 13:53
    vluzrmos commented #26
  • Dec 06 2019 13:36
    vluzrmos commented #28
  • Nov 27 2019 14:46
    Pseudonick47 opened #28
  • Nov 27 2019 14:43
    Pseudonick47 opened #27
  • Nov 22 2019 15:45
    doroshenkoss opened #26
  • Nov 22 2019 15:44
    doroshenkoss closed #25
  • Nov 22 2019 14:07
    doroshenkoss opened #25
Muhammad Adel
@d3vma
Hello!
Could you help me by telling how to get Slack user status on Laravel?
Vagner Luz do Carmo
@vluzrmos
@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
@vluzrmos
that will return an array, you should get the index "users"
like slack('rtm')->start()->users
Gareth Cozens
@cloudratha
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
@cloudratha
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
@vluzrmos
Ok, let me know if you figure it out
Gareth Cozens
@cloudratha
I think the new line needs to be separated with a space , i.e. \n\n wont parse.
Vagner Luz do Carmo
@vluzrmos
In my tests, it works fine:
slack('chat')->message('#general', "New\nLine");
@cloudratha
(note double quotes)
blob
if that "\n" is inside the message (plain text) you should replaceit,
$message = preg_replace('/\\n/', "\n", $message);
(double quotes)
Gareth Cozens
@cloudratha
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
@flashadvocate
Anyone running into this issue? Target [Vluzrmos\SlackApi\Contracts\SlackUser] is not instantiable while building
sforsolat2005
@solat
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.